void OnGameStarted() { StartPanel.SetActive(false); RestartPanel.SetActive(false); }
void OnGameEnded() { RestartPanel.SetActive(true); }
public void CloseWindows() { SettingsPanel.SetActive(false); RestartPanel.SetActive(false); }
public void ShowRestartMenu() { CloseWindows(); RestartPanel.SetActive(true); }
void OnGameOver() { RestartPanel.SetActive(true); }