Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

Tool

enumeration

Description

Which tool is active in the editor.

Properties

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.
NoneNo tool is active. Set this to implement your own in-inspector toolbar (like the terrain editor does).

Did you find this page useful? Please give it a rating: