DefaultPresetSelectorReceiver
Basic implementation of the PresetSelectorReceiver.
Read time 4 minutesLast updated 9 days ago
Definition
- Type: Class
- Namespace: UnityEditor.Presets
- Assembly: UnityEditor
- Inherits from: PresetSelectorReceiver
public class DefaultPresetSelectorReceiver : PresetSelectorReceiver
Remarks
Uses this version when PresetSelector.ShowSelector is called without the PresetSelectorReceiver parameter.
Methods
Method | Description |
|---|---|
| OnSelectionChanged | Applies the Preset to each target. If Preset is null, this method reverts the value of each target. |
| OnSelectionClosed | Applies the current selection and then destroys itself. |
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. |