Exemplo n.º 1
0
    void Update()
    {
        //if (restart)
        //{
        //    Restart();
        //}

        if (script.isDestroyed())
        {
            bossCount++;
            score += 250;
            Debug.Log("What's the deal?");
            StartCoroutine(SpawnWaves());
        }
    }