ドキュメント

Unity Engine

Unity Engine

IMGUI events

Events that occur when the user interacts with an IMGUI element.
読み終わるまでの所要時間 1 分最終更新 2ヶ月前

The IMGUI event family refers to IMGUI events that directly affect the Unity Editor, and are Editor-only events.
UI Toolkit receives its events from the IMGUI events in the Editor. If there are IMGUI events that don't fit into other event types, they fall under the IMGUI event family. Currently, IMGUI events support mouse and keyboard inputs tailored for the Unity Editor. UI Toolkit runtime panels might receive events that don't originate from IMGUI.
The following table describes the IMGUI event and its propagation phases:

Event

Description

Trickles down

Bubbles up

Cancellable

IMGUIEventSent to encapsulate IMGUI-specific events.YesYesYes

Event list

IMGUIEvent

Event used to encapsulate IMGUI-specific events.