Exemple #1
0
    void OnLevelWasLoaded(int level)
    {
        if (level >= 2)
        {
            GameInput.AllowInput = false;
            StartCoroutine(PlayStartAnim());

            Score.Clear();
            Players.Clear();
            WinnerFound = false;

            StartCoroutine(SpawnPlayers());
        }
    }