Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IEventHandler

Interface for class capable of handling events.
Read time 1 minuteLast updated 4 days ago

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.