closing
This event is called before a tab is closed. Return true if the tab can be closed.
Read time 1 minuteLast updated 6 days ago
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.