private void GameResumedHandler(MainGameData gameData) { if (gameData != null) { SessionResumed?.Invoke(gameData); } }
/// <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())); }
private void ResumedHandler(MainGameData gameData) { print($"[SESSION] Resumed"); SessionResumed?.Invoke(gameData); }