Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


OnSelectionChanged(Preset)

When a new Preset is selected in the modal window, this method is called by PresetSelector.
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 OnSelectionChanged(Preset selection)

Parameters

selection

This parameter is set to null when 'None' is the new selection in the PresetSelector.