예제 #1
0
 public void StartButtonRemove()
 {
     StartButton.SetActive(false);
     ExitButton.SetActive(false);
     EscButton.SetActive(true);
     RstButton.SetActive(true);
 }
예제 #2
0
    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());
        }
    }