Beispiel #1
0
    IEnumerator SpawnAsteroidOnEdge()
    {
        while (true)
        {
            yield return(new WaitForSeconds(4));

            spawner.SpawnAsteroidOnEdge(new AsteroidSpec(4, 4, 2, new AsteroidSpec(2, 8, 2, new AsteroidSpec(1, 10, 0, null))));
        }
    }