Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


HandleEventTrickleDown(EventBase)

Executes logic on this element during the TrickleDown phase, immediately after this element's TrickleDown callbacks. Calling StopPropagation will prevent further invocations of this method along the propagation path.
Read time 1 minuteLast updated 13 days ago

Definition

[EventInterest(EventInterestOptions.Inherit)]protected virtual void HandleEventTrickleDown(EventBase evt)

Parameters

The event instance.

Remarks

This method is designed to be overriden by subclasses. Use it to implement event handling without registering callbacks, which guarantees precedences of callbacks registered by users of the subclass.
Use EventInterestAttribute on this method to specify a range of event types that this method needs to receive. Events that don't fall into the specified types might not be sent to this method.