Example #1
0
 private void HandAttachChangeFeedback(bool attach)
 {
     Attaching = attach;
     if (attach)
     {
         HandVR.Haptic(0, DataVR.Instance.hand.grabHaptics.durationSeconds, DataVR.Instance.hand.grabHaptics.frequency, DataVR.Instance.hand.grabHaptics.amplitude);
     }
 }
Example #2
0
 private IEnumerator HoverHandFeedback()
 {
     StopCoroutine(HoverHandFeedback());
     while (Hovering)
     {
         HandVR.Haptic(0, DataVR.Instance.hand.interactableHoverHaptics.durationSeconds, DataVR.Instance.hand.interactableHoverHaptics.frequency, DataVR.Instance.hand.interactableHoverHaptics.amplitude);
         yield return(null);
     }
 }