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"); }
public static void Load(string level) => Level.Load(SetManager.GetLevelFullName(level));
public void OnEnable() => main = this;