Beispiel #1
0
    private IEnumerator EndWaveVictory()
    {
        yield return(new WaitForEndOfFrame());

        gameWinObject.GetComponentInChildren <Text>().text = "Wave " + testSpawner.CurrentWave + " complete!";
        gameWinObject.SetActive(true);
        lootManager.DisplayLoot();
        gameStateManager.PauseGameEnd();
    }