Пример #1
0
 public void TriggerHapticFeedback(float duration, float frequency, float amplitude)
 {
     if (!(GameManager.Instance.playerPlatform == PlayerPlatform.EDITOR))
     {
         hapticFeedback.Vibrate(duration, frequency, amplitude);
     }
 }
Пример #2
0
 internal void Vibrate(UIFeedbackType vibrationType)
 {
     HapticFeedback.Vibrate(vibrationType);
 }