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