文档

Unity Engine

Unity Engine

OnSelectionClosed(Preset)

This method is called by the PresetSelector when the modal window is closed.
阅读时间1 分钟最后更新于 1 个月前

Definition

警告
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.