示例#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);
 }