LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

IEventHandler

interface in UnityEngine.Experimental.UIElements

Description

Interface for class capable of handling events.

Public Methods

HandleEventHandle an event.
HasBubbleHandlersReturn true if event handlers for the event propagation bubble up phase have been attached on this object.
HasCaptureHandlersReturn true if event handlers for the event propagation capture phase have been attached on this object.
OnLostCaptureCallback executed when the event handler loses the capture.