Version: 2020.2

ToolManager.SetActiveContext

切换到手册
public static void SetActiveContext (Type context);
public static void SetActiveContext ();

参数

context The EditorToolContext type to be set as the active tool.

描述

Sets the active EditorToolContext.

To restore the manipulation tools to their default behavior, pass GameObjectToolContext or null to the context argument.