Exemplo n.º 1
0
    public void EndGame()
    {
        gameStarted = false;

        if (roundManager.GameOngoing())
        {
            roundManager.EndRounds();
        }

        foreach (GameObject g in menuWalls)
        {
            g.SetActive(true);
        }

        arena.SetActive(false);
    }