private void OnTimerComplete() { if (!inhaled) { return; } SoundFx.Stop(); SoundFx.Inhale(); inhaled = false; GamepadHelper.StopVibration(); }
protected void GamePadeCheck() { if (GamepadHelper.IsSquezzingReleased && IsSqueezeTimerRunning) { ForceFinishTimer(); } if (GamepadHelper.IsGoingToMenu) { SceneManager.LoadScene(0); } if (GamepadHelper.IsSquezzingReleased) { GamepadHelper.StopVibration(); } }
public void AssignGamepad(GamePadController.Controller controller) { GamepadHelper = new GamepadHelper(controller); GetComponentInChildren <TimeVibrationController>().Ready(); }