/// <summary> /// Create a new Level from scratch /// </summary> /// <param name="width"></param> /// <param name="height"></param> /// <param name="name"></param> public void CreateNewLevel(int width, int height, string name) { this.width = width; this.height = height; levelData = new Level_Data(width, height, name); CreateLevel(); LevelSaveLoad.Save(this.levelData, FilePaths.CustomEditLevelFolder); }
public void ExportLevel() { LevelSaveLoad.Save(Gamemaster.Instance.GetLevel().GetLevelData(), FilePaths.CustomPlayLevelFolder); exportedText.SetActive(true); }
public void SaveLevel() { LevelSaveLoad.Save(data, FilePaths.CustomEditLevelFolder); }