Display move/rotate gizmos for selected objects with RuntimeInspector, integrated with selection, undo, and the editor tools toolbar.
Script: Runtime/Interactions/Scripts/TransformHandles/Scripts/RuntimeTransformHandle.cs
Prefab: Nested TransformHandles under Interactions.prefab (from TransformHandles.prefab).
| Member | Description |
|---|---|
Tool |
View, Move, or Rotation |
Pivot |
Pivot vs Center |
Coordinate |
Local vs World |
Targets |
List of RuntimeInspector being manipulated |
Subscribes to SelectionManager.OnSelectionChanged and updates targets/handle visibility when selection changes.
Uses click/pointer/delete actions from OC Input Actions. Handle colliders use tag Handles so SelectionManager routes hits to HandleRaycastHit instead of object selection.
Drag operations on position/rotation handles create TransformUndoAction entries on RuntimeUndoSystem.
EditorToolsPanel drives Tool, Pivot, and Coordinate when objects are selected.
Handle,HandleBase— shared handle logicPositionAxis,PositionPlane,RotationAxis— axis widgetsHandleCollider— raycast targets for handles- Prefab assets under
Runtime/Interactions/Prefabs/TransformHandles/
Included automatically with Interactions prefab. Ensure:
- SelectionManager and RuntimeUndoSystem present
- Selected objects use
RuntimeInspectorif gizmos should target them - Handle colliders on layer/tag expected by selection raycast