Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Tool

Which tool is active in the editor.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public enum Tool

Fields

Value

Description

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