Version: Unity 6 Beta (6000.0)
Language : English
UI Toolkit Debugger
Dispatch events

Control behavior with events

UI Toolkit provides events that communicate user actions or notifications to visual elementsA node of a visual tree that instantiates or derives from the C# VisualElement class. You can style the look, define the behaviour, and display it on screen as part of the UI. More info
See in Glossary
. The UI(User Interface) Allows a user to interact with your application. Unity currently supports three UI systems. More info
See in Glossary
Toolkit event systemA way of sending events to objects in the application based on input, be it keyboard, mouse, touch, or custom input. The Event System consists of a few components that work together to send events. More info
See in Glossary
shares the same terminology and event naming as HTML events.

Topic Description
Dispatch events Understand the event dispatch behavior, propagation, and target.
Capture the pointer with a manipulator Capture the pointer to ensure an element receives all subsequent pointer events.
Handle event callbacks and value changes Learn how to handle event callbacks and value changes.
Focus order of elements Understand the focus order of elements.
Respond to events with custom controls Learn how to respond to events with custom controls.
Manipulators Use manipulators to handle events.
Synthesize and send events Learn how to synthesize and send events from an example.
Event reference Understand behavior and characteristics of each event.
UI Toolkit Debugger
Dispatch events
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961