GetFocusChangeDirection(Focusable, EventBase)
Get the direction of the focus change for the given event. For example, when the Tab key is pressed, focus should be given to the element to the right.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
FocusChangeDirection GetFocusChangeDirection(Focusable currentFocusable, EventBase e)
Parameters
Returns
Type | Description |
|---|---|
| FocusChangeDirection |