Class KeyboardNavigationManipulator
Provides a default implementation for translating input device specific events to higher level navigation operations as commonly possible with a keyboard.
Inherited Members
Namespace: UnityEngine.UIElements
Syntax
public class KeyboardNavigationManipulator : Manipulator, IManipulator
Constructors
KeyboardNavigationManipulator(Action<KeyboardNavigationOperation, EventBase>)
Initializes and returns an instance of KeyboardNavigationManipulator, configured to invoke the specified callback.
Declaration
public KeyboardNavigationManipulator(Action<KeyboardNavigationOperation, EventBase> action)
Parameters
Type | Name | Description |
---|---|---|
Action<KeyboardNavigationOperation, EventBase> | action | 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. |
Methods
RegisterCallbacksOnTarget()
Declaration
protected override void RegisterCallbacksOnTarget()
Overrides
UnregisterCallbacksFromTarget()
Declaration
protected override void UnregisterCallbacksFromTarget()