Beispiel #1
0
    static IEnumerator GameOverStep()
    {
        Debris.ExplodeAllDebris();
        player.StopWarudo();
        debris.StopRunLevel();
        player.recharges = 0;
        yield return(SetCurtainVisible(true));

        game_over_routine = null;
        yield return(null);

        if (debris.run_level < 5)
        {
            inst.StartLevel(debris.run_level);
        }
        else
        {
            inst.Outro();
        }
    }