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); } }
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); } }