AutoSwitch
As long as an EventSystem is active, it serves as the source of input for all UI. Otherwise, UIToolkit's built-in input handles the input.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
[InspectorName("Auto-switch (redirect from EventSystem if present)")]AutoSwitch = 0
Remarks
This is the default option.