void HandHoverUpdate(VRHand hand) { if (hand.GetStandardInteractionButtonDown()) { VRInputModule.instance.Submit(gameObject); VRControllerButtonHints.Hide(hand); } }
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(); } } }
void OnHandHoverEnd(VRHand hand) { VRInputModule.instance.HoverEnd(gameObject); VRControllerButtonHints.Hide(hand); currentHand = null; }
void OnHandHoverEnd(VRHand hand) { VRControllerButtonHints.Hide(hand); }