//!Tworzy nowy zapis gry. public void newGame() { string filePath = Application.persistentDataPath + "/" + currentSave.LastLocation + " " + DateTime.Now.ToString("dd/MM/yyyy hh/mm/ss tt") + ".save"; saveDataController.FilePath = filePath; saveDataController.LoadedSave = currentSave; saveDataController.saveToFile(); saveDataController.load(); }
//!Ĺaduje ostatni zapis. public void loadLastSave() { saveDataController.loadSaveFile(); saveDataController.load(); }