PresetSelector
This class implements a modal window that selects a Preset asset from the Project.
Read time 7 minutesLast updated 8 days ago
Definition
- Type: Class
- Namespace: UnityEditor.Presets
- Assembly: UnityEditor
- Inherits from: EditorWindow
public class PresetSelector : EditorWindow
Static Methods
Method | Description |
|---|---|
| DrawPresetButton | Draw a Preset button that opens the default PresetSelector using the targets array. |
| ShowSelector | Opens a modal window to select a Preset from an object field backed by a SerializedProperty. |
Inheritance
Inherited Members
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. |