Hide() public method

public Hide ( ) : void
return void
Exemplo n.º 1
0
 void HandHoverUpdate(VRHand hand)
 {
     if (hand.GetStandardInteractionButtonDown())
     {
         VRInputModule.instance.Submit(gameObject);
         VRControllerButtonHints.Hide(hand);
     }
 }
Exemplo n.º 2
0
 void HandHoverUpdate(VRHand hand)
 {
     //Trigger got pressed
     if (hand.GetStandardInteractionButtonDown())
     {
         hand.AttachObject(gameObject, attachmentFlags, attachmentPoint);
         VRControllerButtonHints.Hide(hand);
     }
 }
 public static void Hide(VRHand hand)
 {
     if (hand != null)
     {
         VRControllerButtonHints hints = hand.GetComponentInChildren <VRControllerButtonHints>();
         if (hints != null)
         {
             hints.Hide();
         }
     }
 }
Exemplo n.º 4
0
 void OnHandHoverEnd(VRHand hand)
 {
     VRInputModule.instance.HoverEnd(gameObject);
     VRControllerButtonHints.Hide(hand);
     currentHand = null;
 }
Exemplo n.º 5
0
 void OnHandHoverEnd(VRHand hand)
 {
     VRControllerButtonHints.Hide(hand);
 }