示例#1
0
 public bool GetPressButtonDown()
 {
     return(VRTRIXGloveVRInteraction.GetGesture(this.GetHandType()) == VRTRIXGloveGesture.BUTTONCLICK);
 }
示例#2
0
 //-------------------------------------------------
 // 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);
 }
示例#3
0
 //-------------------------------------------------
 // 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);
 }