CustomPivotRotation
Use this class to implement an editor pivot rotation setting. This is the base class from which all custom pivot rotation settings are inherited.
Read time 4 minutesLast updated 4 days ago
Definition
- Type: Class
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
- Inherits from: ScriptableObject
public abstract class CustomPivotRotation : ScriptableObject
Properties
Property | Description |
|---|---|
| rotation | Gets the rotation of this pivot rotation setting. |
Methods
Method | Description |
|---|---|
| OnActivated | Invoked after this CustomPivotRotation becomes the active pivot rotation. |
| OnWillBeDeactivated | Invoked before this CustomPivotRotation stops being the active pivot rotation. |
Inheritance
Operators
Operator | Description |
|---|---|
| operator == | Compares two object references to see if they refer to the same object. |
| bool | Determines whether the object exists. |
| operator != | Compares if two objects refer to a different object. |