UnityEditor.PresetsUIModule Basic implementation of the PresetSelectorReceiver. Applies the Preset to each target. If Preset is null, this method reverts the value of each target. Applies the current selection and then destroys itself. This class implements a modal window that selects a Preset asset from the Project. Draw a Preset button that opens the default PresetSelector using the targets array. The Rect where the PresetSelector icon is drawn. List of objects to which the selected Preset is applied. Opens a modal window to select a Preset. The list of objects to which the selected Preset is applied. The selected Preset when the window is opened. Set to 'null' for no selection. Whether to show the 'Create New Preset...' button. Set to true to show the button. Set to false to hide this button. Callback invoked when the selected Preset is changed. Provides the selected preset as argument. Callback invoked when the PresetSelector window is closed. Provides as arguments the selected preset and whether or not the selction was cancelled. Opens a modal window to select a Preset. The list of objects to which the selected Preset is applied. The selected Preset when the window is opened. Set to 'null' for no selection. Whether to show the 'Create New Preset...' button. Set to true to show the button. Set to false to hide this button. Callback invoked when the selected Preset is changed. Provides the selected preset as argument. Callback invoked when the PresetSelector window is closed. Provides as arguments the selected preset and whether or not the selction was cancelled. Opens a modal window to select a Preset from an object field backed by a SerializedProperty. Filters the list of Presets based on a specific PresetType. The selected Preset when the window is opened. Set to 'null' for no selection. The SerializedProperty behind an ObjectField used to select preset assets. Whether to show the 'Create New Preset...' button. Set to true to show the button. Set to false to hide this button. Returns the search view. OBSOLETE. Opens a modal window to select a Preset. Object that identifies the type of Preset asset being selected. The modal window filters the selector view based on this object. The selected Preset when the window is opened. Set to 'null' for no selection. Whether to show the 'Create New Preset...' button. Set to true to show the button. Set to false to hide this button. The PresetSelectorReceiver instance that the PresetSelector uses to send events. Filters the list of Presets based on a specific PresetType. Use this param to set the PresetType when no target is specified. OBSOLETE. Opens a modal window to select a Preset. Object that identifies the type of Preset asset being selected. The modal window filters the selector view based on this object. The selected Preset when the window is opened. Set to 'null' for no selection. Whether to show the 'Create New Preset...' button. Set to true to show the button. Set to false to hide this button. The PresetSelectorReceiver instance that the PresetSelector uses to send events. Filters the list of Presets based on a specific PresetType. Use this param to set the PresetType when no target is specified. Implement this class to control the selection change when selecting a Preset in the PresetSelector. When a new Preset is selected in the modal window, this method is called by PresetSelector. This parameter is set to null when 'None' is the new selection in the PresetSelector. This method is called by the PresetSelector when the modal window is closed.