Version: 2023.2
Language : English
Contextual menu events
Event examples

IMGUI events

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(User Interface) Allows a user to interact with your application. Unity currently supports three UI systems. More info
See in Glossary
Toolkit runtime panels might receive events that don’t originate from IMGUI.

Event Description Trickles down Bubbles up Cancellable
IMGUIEvent Sent to encapsulate IMGUI-specific events. Yes Yes Yes

Event list

IMGUIEvent

Event used to encapsulate IMGUI-specific events.

Contextual menu events
Event examples