public void StartButtonRemove() { StartButton.SetActive(false); ExitButton.SetActive(false); EscButton.SetActive(true); RstButton.SetActive(true); }
private IEnumerator GameLoop() { yield return(StartCoroutine(RoundStarting())); yield return(StartCoroutine(RoundPlaying())); yield return(StartCoroutine(RoundEnding())); if (m_GameWinner != null) { RstButton.SetActive(false); EscButton.SetActive(false); EndOfGame.SetActive(true); } else { StartCoroutine(GameLoop()); } }