SendEvent(EventBase)
Sends an event to the event handler.
阅读时间1 分钟最后更新于 1 个月前
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