PropagationPhase
The propagation phases of an event.
Read time 1 minuteLast updated 13 days ago
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.
Refer to the Dispatch events manual page for more information and examples.
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. |