PresetSelectorReceiver

class in UnityEditor.Presets

Switch to Manual

Description

Implement this class to control the selection change when selecting a Preset in the PresetSelector.

Consult the DefaultPresetSelectorReceiver class for an example of implementation and usage.

Public Functions

OnSelectionChangedWhen a new Preset is selected in the modal window, this method is called by PresetSelector.
OnSelectionClosedThis method is called by the PresetSelector when the modal window is closed.