Exemple #1
0
        public static void Next()
        {
            if (Data.Level.IsLast)
            {
                throw new InvalidOperationException(Data.Level.name + " is the last Level in the " + Data.Level.Region.name + ", Can't Progress any further");
            }

            Instance.Exit();

            var target = Data.Level.Next;

            target.Load(Data.Difficulty);
        }
Exemple #2
0
        public static void Retry()
        {
            Instance.Exit();

            Data.Level.Reload();
        }
Exemple #3
0
        //Utility
        public static void Quit()
        {
            Instance.Exit();

            Core.Scenes.Load.One(Core.Scenes.MainMenu);
        }