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.

IEventDispatcher

interface in UnityEngine.Experimental.UIElements

Description

Interface for event dispatchers.

Properties

captureThe element capturing the mouse, if any.

Public Methods

DispatchEventDispatch an event to the panel.
ReleaseCaptureRelease the capture.
RemoveCaptureRelease capture and notify capturing element.
TakeCaptureTake the capture.