PivotRotation Enumeration

How is the tool handle oriented

Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.

Values
Local

The tool handle is oriented from the active object.

Global

The tool handle is aligned along the global axes.