//------------------------------------------------- private void HandHoverUpdate(VRTRIXGloveGrab hand) { if (hand.GetStandardInteractionButtonDown()) { InputModule.instance.Submit(gameObject); //ControllerButtonHints.HideButtonHint( hand, Valve.VR.EVRButtonId.k_EButton_SteamVR_Trigger ); } }
//------------------------------------------------- private void OnHandHoverEnd(VRTRIXGloveGrab hand) { InputModule.instance.HoverEnd(gameObject); //ControllerButtonHints.HideButtonHint( hand, Valve.VR.EVRButtonId.k_EButton_SteamVR_Trigger ); currentHand = null; }
//------------------------------------------------- private void OnHandHoverBegin(VRTRIXGloveGrab hand) { currentHand = hand; InputModule.instance.HoverBegin(gameObject); //ControllerButtonHints.ShowButtonHint( hand, Valve.VR.EVRButtonId.k_EButton_SteamVR_Trigger ); }