Tool

enumeration

매뉴얼로 전환

설명

Which tool is active in the editor.

변수

ViewThe view tool is active - Use Tools.viewTool to find out which view tool we're talking about.
MoveThe move tool is active.
RotateThe rotate tool is active.
ScaleThe scale tool is active.
RectThe rect tool is active.
TransformThe transform tool is active.
CustomAny tool that is not one of the built-in tools.
NoneNo tool is active. Set this to implement your own in-inspector toolbar (like the terrain editor does).