KeyboardNavigationManipulator(Action<KeyboardNavigationOperation, EventBase>)
Initializes and returns an instance of KeyboardNavigationManipulator, configured to invoke the specified callback.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Constructor
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public KeyboardNavigationManipulator(Action<KeyboardNavigationOperation, EventBase> action)
Parameters
This action is invoked when specific low level events are dispatched to the target VisualElement, with a specific value of KeyboardNavigationOperation and a reference to the original low level event.