Language
Edit

UGUIInputAdapter.Move(Vector3) Method

Definition

OnMoves on UnityUI elements are equivalent to selecting, moving, and deselecting with XRI. This coroutine has a single-frame delay between these actions to ensure XRI synchronizes and recognizes these inputs. The object-local delta is scaled by the OnMoveDelta value.

protected System.Collections.IEnumerator Move(UnityEngine.Vector3 objectLocalDelta);
member this.Move : UnityEngine.Vector3 -> System.Collections.IEnumerator
Protected Iterator Function Move (objectLocalDelta As Vector3) As IEnumerator

Parameters

objectLocalDelta
UnityEngine.Vector3

Returns

Remarks

We may/will be implementing true directional input on our interactables instead of this. This implements things like slider input by literally moving the attachTransform of the proxy interactor. In the future, things like Sliders may implement some kind of interface that will enable directional/discrete input.

Applies to