|
Name | Description |
---|---|
rotation | Orientation of the handle |
position | Center of the handle in 3D space |
Quaternion - the modified rotation Note: Use HandleUtility.GetHandleSize where you might want to have constant screen-sized handles.
Make a Scene view rotation handle.
This will behave like the built-in rotation tool in Unity. If you have assigned something to Undo.SetSnapshotInfo, it will work fully with Undo.
Rotate the attached object from the Rotation Handle.
And the script attached to this handle: