Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


OnSelectionClosed(Preset)

This method is called by the PresetSelector when the modal window is closed.
Read time 1 minuteLast updated 12 days ago

Definition

Warning
Deprecated. The PresetSelectorReceiver is deprecated. Please use PresetSelector.ShowSelector(Object[], Preset, bool) instead.
public virtual void OnSelectionClosed(Preset selection)

Parameters

selection

Remarks

You must use this method to destroy your PresetSelectorReceiver object. For an example, consult the DefaultPresetSelectorReceiver.OnSelectionClosed documentation.