EditorToolContext

class in UnityEditor.EditorTools

Switch to Manual

Description

Use this class to implement specialized versions of the built-in transform tools. Built-in transform tools include Move, Rotate, Scale, Rect, and Transform.

Public Functions

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.

Protected Functions

GetEditorToolTypeDefines the EditorTool type for a given Tool.