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.
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.
Member Name | Summary |
---|---|
ActivateSubTool | Activates the sub-tool for positioning. This method is associated with the shortcut w in the SceneViewportWidget . |
Member Name | Summary |
---|---|
OnDisabled | Called when the tool is disabled. |
OnUpdate | Called every frame to update the tool's state. |