EditorToolContext

class in UnityEditor.EditorTools

Cambiar al Manual

Descripción

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

Funciones Públicas

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.

Funciones Protegidas

GetEditorToolTypeDefines the EditorTool type for a given Tool.