Exemplo n.º 1
0
 protected void Hud_OnPause()
 {
     uiManager.AddScreenWithoutCloseAnimation(PauseScreen.Instance);
     APauseObject.PauseAll();
     levelManager.ChangePause(false);
     _isInGame = false;
 }
Exemplo n.º 2
0
 protected void PauseSreen_OnResume()
 {
     uiManager.AddScreenWithoutCloseAnimation(Hud.Instance);
     APauseObject.ResumeAll();
     levelManager.ChangePause(true);
     _isInGame = true;
 }