public float GetWandScrollAmount() { // Check controller scroll direction. if (App.VrSdk.VrControls.PrimaryScrollDirectionIsX(ControllerName.Wand)) { return(Wand.GetScrollXDelta()); } return(Wand.GetScrollYDelta()); }
public float GetToolSelection() { float fScrollWheel = Input.GetAxis("Mouse ScrollWheel"); if (Mathf.Abs(fScrollWheel) > m_InputThreshold) { return(fScrollWheel); } return(Wand.GetScrollYDelta()); }