文档

Unity Engine

Unity Engine

SendEvent(EventBase)

Sends an event to the event handler.
阅读时间1 分钟最后更新于 1 个月前

Definition

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