Exemplo n.º 1
0
    IEnumerator Phase1()
    {
        print("PHASE 1");

        MusicController.control.SkipToPoint(0);
        Spawner1.Shoot_CircleBurst(1.25f, null, new Vector3(-1, 1), 15, 2, 3);
        Spawner2.Shoot_CircleBurst(2.00f, null, new Vector3(1, 1), 15, 2, 3);
        Spawner1.Shoot_CircleBurst(3.50f, null, new Vector3(0, 0), 15, 1.5f, 3);
        Spawner2.Shoot_CircleBurst(3.50f, null, new Vector3(0, 0), 15, 2, 3);

        Spawner1.Shoot_CircleBurst(4.10f, null, new Vector3(-1, 1), 15, 2, 3);
        Spawner2.Shoot_CircleBurst(4.95f, null, new Vector3(1, 1), 15, 2, 3);
        Spawner1.Shoot_CircleBurst(5.80f, null, new Vector3(-1, 1), 15, 2, 3);
        Spawner2.Shoot_CircleBurst(6.65f, null, new Vector3(1, 1), 15, 2, 3);
        Spawner1.Shoot_CircleBurst(7.50f, null, new Vector3(-1, 1), 15, 2, 3);
        Spawner2.Shoot_CircleBurst(8.30f, null, new Vector3(1, 1), 15, 2, 3);

        Spawner1.Shoot_CircleBurst(10.25f, null, new Vector3(0, 0), 15, 2, 3);
        Spawner2.Shoot_CircleBurst(10.25f, null, new Vector3(0, 0), 15, 1.5f, 3);

        yield return(new WaitForSeconds(10.85f));
    }