DetachFromPanelEvent
Event sent just before an element is detached from its parent, if the parent is the descendant of a panel.
阅读时间2 分钟最后更新于 1 个月前
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Inherits from: PanelChangedEventBase<DetachFromPanelEvent>
- Implements: IDisposable, IPanelChangedEvent
public class DetachFromPanelEvent : PanelChangedEventBase<DetachFromPanelEvent>, IDisposable, IPanelChangedEvent
Remarks
Don't modify the parent of the element in your registered callbacks.