PropagationPhase
The propagation phases of an event.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Enum
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public enum PropagationPhase
Remarks
When an element receives an event, the event propagates from the panel's root element to the target element.
In the TrickleDown phase, the event is sent from the panel's root element to the target element.
In the BubbleUp phase, the event is sent from the target element back to the panel's root element.
Fields
Value | Description |
|---|---|
| BubbleUp | The event is sent from the target element back to the panel's root element. |
| None | The event is not propagated. |
| TrickleDown | The event is sent from the panel's root element to the target element. |