Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PresetSelectorReceiver

Implement this class to control the selection change when selecting a Preset in the PresetSelector.
Read time 4 minutesLast updated 9 days ago

Definition

Warning
Deprecated. The PresetSelectorReceiver is deprecated. Please use PresetSelector.ShowSelector(Object[], Preset, bool) instead.
public abstract class PresetSelectorReceiver : ScriptableObject

Remarks

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

Methods

Method

Description

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.

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.