UGUIInputAdapter.Move(Vector3) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.