文档

Unity Engine

Unity Engine

IEventHandler

Interface for class capable of handling events.
阅读时间1 分钟最后更新于 1 个月前

Definition

public interface IEventHandler

Methods

Method

Description

HandleEventHandles an event according to its propagation phase and current target, by executing the element's default action or callbacks associated with the event.
HasBubbleUpHandlersReturns true if event handlers for the event propagation BubbleUp phase, have been attached to 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.