Example #1
0
        public void Load(string set)
        {
            if (string.IsNullOrEmpty(set))
            {
                set = dropdownTitle.captionText.text;
            }

            File.WriteAllText(path + "\\Selected.txt", set);

            SetManager.Load(path + "\\" + set);
            LevelManager.Load("Map");
        }
Example #2
0
 public static void Load(string level) => Level.Load(SetManager.GetLevelFullName(level));
Example #3
0
 public void OnEnable() => main = this;