예제 #1
0
 /// <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);
 }
예제 #2
0
 public void ExportLevel()
 {
     LevelSaveLoad.Save(Gamemaster.Instance.GetLevel().GetLevelData(), FilePaths.CustomPlayLevelFolder);
     exportedText.SetActive(true);
 }
예제 #3
0
 public void SaveLevel()
 {
     LevelSaveLoad.Save(data, FilePaths.CustomEditLevelFolder);
 }