class RotationEditorTool : EditorTool

book_4_sparkGenerated
code_blocksInput

Description

The RotationEditorTool class is part of the Editor namespace and is used to rotate selected GameObjects within the editor environment. It provides functionality to toggle snap to grid using the Ctrl key.

Members

Static Members

Member NameSummary
ActivateSubToolActivates the rotation sub-tool. This method is associated with a shortcut key.

Instance Members

Member NameSummary
OnUpdateUpdates the rotation tool state. This method is called during the editor's update cycle.