public void Save() { SaveObject <int> saveObject = new SaveObject <int>(); saveObject.AddAll(upgradeLevels); SaveManager.SaveSaveObject(SaveManager.GetSaveString(filePath), saveObject); print("saved"); }
public static void Save() { saveObject.AddAll(items); SaveManager.SaveObject(Path.Combine(GameManager.GetPath(), PATH), saveObject); }