Exemple #1
0
 /// <summary>
 /// [Framework Method] Send signal to resume game.
 /// </summary>
 void ResumeGame()
 {
     try
     {
         OnGamePause.Dispatch(false);
     }
     catch (Exception exception)
     {
         Debug.LogError(exception);
     }
 }
Exemple #2
0
 /// <summary>
 /// [Framework Method] Send signal to pause game.
 /// </summary>
 void PauseGame()
 {
     try
     {
         OnGamePause.Dispatch(true);
     }
     catch (Exception exception)
     {
         Debug.LogError(exception);
     }
 }