Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public void DoPause() { GameStateManager.Instance.IsGamePaused = true; showPanels.HideUiOverlayCanvas(); //Set isPaused to true isPaused = true; //Set time.timescale to 0, this will cause animations and physics to stop updating Time.timeScale = 0; //call the ShowPausePanel function of the ShowPanels script showPanels.ShowPausePanel(); }