ToolManager.SetActiveContext

Declaration

public static void SetActiveContext(Type context);

Declaration

public static void SetActiveContext();

Parameters

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

Description

Sets the active EditorToolContext.

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


Did you find this page useful? Please give it a rating: