PresetSelectorReceiver
Implement this class to control the selection change when selecting a Preset in the PresetSelector.
Read time 4 minutesLast updated 11 days ago
Definition
- Type: Class
- Namespace: UnityEditor.Presets
- Assembly: UnityEditor
- Inherits from: ScriptableObject
public abstract class PresetSelectorReceiver : ScriptableObject
Remarks
Consult the DefaultPresetSelectorReceiver class for an example of implementation and usage.
Methods
Method | Description |
|---|---|
| OnSelectionChanged | When a new Preset is selected in the modal window, this method is called by PresetSelector. |
| OnSelectionClosed | This method is called by the PresetSelector when the modal window is closed. |
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. |