This class manipulates editor tools in the Scene view.
activeContextType | Gets the type of EditorToolContext that is currently active. The default value is GameObjectToolContext. |
activeToolType | Gets the type of the EditorTool that is currently active. |
IsActiveContext | Test if an EditorToolContext is currently the active tool context. |
IsActiveTool | 测试 EditorTool 当前是否是激活的工具。 |
RefreshAvailableTools | Call RefreshAvailableTools to rebuild the contents of the Scene View Tools Overlay. |
RestorePreviousPersistentTool | 将上次使用的全局 EditorTool 设置为激活的工具。 |
RestorePreviousTool | 将上次使用的 EditorTool 设置为激活的工具。 |
SetActiveContext | Sets the active EditorToolContext. |
SetActiveTool | 设置激活的 EditorTool。 |
activeContextChanged | Defines an event handler for when the active EditorToolContext changes. |
activeContextChanging | Defines an event handler for when the active EditorToolContext will change. |
activeToolChanged | Defines an event handler for when the active tool changes. |
activeToolChanging | Defines an event handler for when the active tool changes. |