Experimental: this API is experimental and might be changed or removed in the future.

IEventHandler

interface in UnityEngine.Experimental.UIElements

切换到手册

描述

使类能够处理事件的接口。

公共函数

HandleEvent处理事件。
HasBubbleUpHandlersReturn true if event handlers for the event propagation BubbleUp phase have been attached on this object.
HasTrickleDownHandlersReturns true if event handlers, for the event propagation TrickleDown phase, are attached to this object.
SendEventSends an event to the event handler.