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); }
public static void Retry() { Instance.Exit(); Data.Level.Reload(); }
//Utility public static void Quit() { Instance.Exit(); Core.Scenes.Load.One(Core.Scenes.MainMenu); }