private void FixedUpdate() { if (vibrationCountdown > 0 && isVibrating) { input.Vibrate(0.5f, 0.5f); vibrationCountdown -= Time.fixedDeltaTime; } else { input.Vibrate(0.0f, 0.0f); isVibrating = false; vibrationCountdown = VibrationTime; } }