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