Example #1
0
        private void OnTimerComplete()
        {
            if (!inhaled)
            {
                return;
            }
            SoundFx.Stop();
            SoundFx.Inhale();
            inhaled = false;

            GamepadHelper.StopVibration();
        }
Example #2
0
        protected void GamePadeCheck()
        {
            if (GamepadHelper.IsSquezzingReleased && IsSqueezeTimerRunning)
            {
                ForceFinishTimer();
            }

            if (GamepadHelper.IsGoingToMenu)
            {
                SceneManager.LoadScene(0);
            }

            if (GamepadHelper.IsSquezzingReleased)
            {
                GamepadHelper.StopVibration();
            }
        }