文档

Unity Engine

Unity Engine

selectorClosedHandler

Function to call when the advanced Object Selector is closed. Only available during AdvancedObjectSelectorEventType.OpenAndSearch.
阅读时间1 分钟最后更新于 1 个月前

Definition

public Action<Object, bool> selectorClosedHandler { get; }

Remarks

This function takes two parameters: the object that was selected, or null if nothing was selected, and a boolean indicating if the selection was canceled or not.