IndieGame/client/Packages/com.unity.ugui@1.0.0/Documentation~/script-EventSystem.md
DOBEST\zhaoyingjie f242607587 初始化工程
2024-10-11 10:12:15 +08:00

856 B

Event System Manager

This subsystem is responsible for controlling all the other elements that make up eventing. It coordinates which Input Module is currently active, which GameObject is currently considered 'selected', and a host of other high level Event System concepts.

Each 'Update' the Event System receives the call, looks through its Input Modules and figures out which is the Input Module that should be used for this tick. It then delegates the processing to the modules.

Properties

Property: Function:
First Selected The GameObject that was selected first.
Send Navigation Events Should the EventSystem allow navigation events (move / submit / cancel).
Drag Threshold The soft area for dragging in pixels.

Beneath the Properties table is the "Add Default Input Modules" button.