VisualElementFocusRing
class in UnityEngine.UIElements
/
Implemented in:UnityEngine.UIElementsModule
Implements interfaces:IFocusRing
Description 描述
Implementation of a linear focus ring. Elements are sorted according to their focusIndex.
Properties 属性
| defaultFocusOrder | The focus order for elements having 0 has a focusIndex. |
Constructors
| VisualElementFocusRing | Constructor. |
Public Methods 公共方法
| GetFocusChangeDirection | 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 in the focus ring. | ||
| GetNextFocusable | Get the next element in the given direction. |