IEventHandler
Interface for class capable of handling events.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Interface
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public interface IEventHandler
Methods
Method | Description |
|---|---|
| HandleEvent | Handles an event according to its propagation phase and current target, by executing the element's default action or callbacks associated with the event. |
| HasBubbleUpHandlers | Returns true if event handlers for the event propagation BubbleUp phase, have been attached to this object. |
| HasTrickleDownHandlers | Returns true if event handlers, for the event propagation TrickleDown phase, are attached to this object. |
| SendEvent | Sends an event to the event handler. |