CustomPivotMode
Use this class to implement an editor pivot mode setting. This is the base class from which all custom pivot mode 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 CustomPivotMode : ScriptableObject
Properties
Property | Description |
|---|---|
| position | Gets the position of this pivot mode setting. |
Methods
Method | Description |
|---|---|
| OnActivated | Invoked after this CustomPivotMode becomes the active pivot mode. |
| OnWillBeDeactivated | Invoked before this CustomPivotMode stops being the active pivot mode. |
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. |