class PositionEditorTool : EditorTool

book_4_sparkGenerated
code_blocksInput

Description

The PositionEditorTool class is part of the Editor namespace and is used to move selected GameObjects within the scene. It provides functionality to toggle snap to grid and duplicate selections using keyboard shortcuts.

Members

Static Members

Member NameSummary
ActivateSubToolActivates the sub-tool for positioning. This method is associated with the shortcut w in the SceneViewportWidget.

Instance Members

Member NameSummary
OnDisabledCalled when the tool is disabled.
OnUpdateCalled every frame to update the tool's state.