Navigation.Move
Move(Vector3, Uint, Object, int)
Queues an attempt to move navigation focus to the next navigable UIBlock in the approximate local space direction to be processed at the start of the next frame, after the Nova Engine update has run for the current frame.
Declaration
public static void Move(Vector3 direction, uint controlID = 0U, object userData = null, int layerMask = -1)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | direction | The direction to navigate in the local space of the current focused element. |
Uint | controlID | The unique identifier of the input control generating this Interaction.Update. |
Object | userData | Any additional data to pass along to the receiver of the current interaction. See UserData. |
int | layerMask | The gameobject layers to include, defaults to "All Layers". |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | If |
System.InvalidOperationException | If Focus(UIBlock, UInt32, Object, Int32) has not been called for the given |