Exemplo n.º 1
0
 private void GameResumedHandler(MainGameData gameData)
 {
     if (gameData != null)
     {
         SessionResumed?.Invoke(gameData);
     }
 }
Exemplo n.º 2
0
        /// <summary>
        /// Resuming session either due to game event or player has resumed breathing
        /// </summary>
        public void ResumeSession()
        {
            Debug.Log("Session Resumed");

            FizzyoFramework.Instance.Recogniser.BreathComplete += Recogniser_BreathComplete;

            timeBreathpaused = 0;
            isSessionPaused  = false;
            SessionResumed?.Invoke(this, new SessionEventArgs(GetSessionStatus()));
        }
Exemplo n.º 3
0
 private void ResumedHandler(MainGameData gameData)
 {
     print($"[SESSION] Resumed");
     SessionResumed?.Invoke(gameData);
 }