Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PresetSelector

This class implements a modal window that selects a Preset asset from the Project.
Read time 7 minutesLast updated 8 days ago

Definition

public class PresetSelector : EditorWindow

Static Methods

Method

Description

DrawPresetButtonDraw a Preset button that opens the default PresetSelector using the targets array.
ShowSelectorOpens 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.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.