OnSelectionClosed(Preset)
This method is called by the PresetSelector when the modal window is closed.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Presets
- Assembly: UnityEditor
public virtual void OnSelectionClosed(Preset selection)
Parameters
Remarks
You must use this method to destroy your PresetSelectorReceiver object. For an example, consult the DefaultPresetSelectorReceiver.OnSelectionClosed documentation.