SendEvent(EventBase)
Sends an event to the event handler.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public abstract void SendEvent(EventBase e)
Parameters
The event to send.
Remarks
UI Toolkit sends events to visual elements through the panel. The event is sent to the event handler's registered callbacks. For more information, refer to Synthesize and send events.
Additional Resources: IEventHandler