Firstborn/Library/PackageCache/com.unity.ugui@1.0.0/Documentation~/script-EventSystem.md

17 lines
856 B
Markdown
Raw Normal View History

2023-03-28 13:24:16 -04:00
# 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.