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
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961