URL: https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/PivotManager.html
taLayer-initialized', user: { user_unity_id: undefined, user_logged_in: 'no' }, environment: { environment_locale: 'en-us', environment_currency: undefined }});Manages pivot mode, rotation, and other configurable settings of editor pivots.
| Property | Description |
|---|---|
| defaultPivotModeType | The type of the default built-in pivot mode used during initialization and as a fallback when no other mode is set or valid. |
| defaultPivotRotationType | The type of the default built-in pivot rotation type used during initialization and as a fallback when no other rotation is set or valid. |
| Method | Description |
|---|---|
| GetActivePivotMode | Gets the currently active pivot mode. |
| GetActivePivotRotation | Gets the currently active pivot rotation. |
| SetActivePivotMode | Sets the active pivot mode to the specified type. |
| SetActivePivotRotation | Sets the active pivot rotation to the specified type. |
| Event | Description |
|---|---|
| activePivotModeChanged | Raised when the active pivot mode changes. |
| activePivotRotationChanged | Raised when the active pivot rotation changes. |