closing
This event is called before a tab is closed. Return true if the tab can be closed.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Event
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public event Func<bool> closing
Remarks
In the case where more than one event are assigned, all of them will be executed synchronously but only the last value will be taken into account.