예제 #1
0
    IEnumerator Phase2()
    {
        print("PHASE 2");
        float SV = 10.85f;

        MusicController.control.SkipToPoint(SV);

        Spawner1.CreateLine_MultiLines(10.85f - SV, null, new Vector3(0, 0), 0.4f, 5, 4, 8, 0, 0, true);
        Spawner1.MorphTo_Circle_Children(14.40f - SV, null, new Vector3(-2, 0), 0, 1, 1, 3.1f);

        Spawner2.CreateLine_MultiLines(17.75f - SV, null, new Vector3(0, 0), 0.4f, 5, 4, 8, 0, 0, true);
        Spawner2.MorphTo_Circle_Children(21.10f - SV, null, new Vector3(2, 0), 0, 2, 2, 3.1f);

        Spawner1.RotateDegrees(24.40f - SV, null, 360, 4.95f);
        Spawner2.RotateDegrees(24.40f - SV, null, -360, 4.95f);

        Spawner1.BreakToTarget_Children(30.23f - SV, PlayersGameObject(), new Vector3(0, 0), 0.00f, 4);
        Spawner2.BreakToTarget_Children(30.23f - SV, PlayersGameObject(), new Vector3(0, 0), 0.00f, 4);

        Spawner1.ChangeAlpha_Children(30.23f - SV, 0.0f, 0, 2);
        Spawner2.ChangeAlpha_Children(30.23f - SV, 0.0f, 0, 2);

        Spawner1.Destroy_Children(32.23f - SV, 0);
        Spawner2.Destroy_Children(32.23f - SV, 0);

        yield return(new WaitForSeconds(31.03f - SV));

        yield return(null);
    }