public bool GetPressButtonDown() { return(VRTRIXGloveVRInteraction.GetGesture(this.GetHandType()) == VRTRIXGloveGesture.BUTTONCLICK); }
//------------------------------------------------- // Was the standard interaction button just released? In VR, this is a trigger press. In 2D fallback, this is a mouse left-click. //------------------------------------------------- public bool GetTeleportButtonUp() { return(VRTRIXGloveVRInteraction.GetGesture(this.GetHandType()) != VRTRIXGloveGesture.BUTTONTELEPORT); }
//------------------------------------------------- // Was the standard interaction button just released? In VR, this is a trigger press. In 2D fallback, this is a mouse left-click. //------------------------------------------------- public bool GetStandardInteractionButtonUp() { return(VRTRIXGloveVRInteraction.GetGesture(this.GetHandType()) != VRTRIXGloveGesture.BUTTONGRAB); }