Version: 2020.3

GameObjectToolContext

class in UnityEditor.EditorTools

/

继承自:EditorTools.EditorToolContext

切换到手册

描述

This class represents the default context for manipulation tools. When GameObjectToolContext is active, manipulation tools affect the transform property of GameObjects in the SceneView Selection.

继承的成员

公共函数

OnToolGUIImplements any common functionality for the set of manipulation tools available for this context.
ResolveToolReturns the matching EditorTool type for the specified Tool given the context.

受保护的函数

GetEditorToolTypeDefines the EditorTool type for a given Tool.