Beispiel #1
0
 public void Save()
 {
     //print("Saved");
     PlayerPrefs.SetString("save", SaveLoadHelper.Serialize <Save>(save));
 }
Beispiel #2
0
 public static void LoadFixedSave(string tutorialString)
 {
     instance = UnityEngine.JsonUtility.FromJson <SaveLoadHelper>(tutorialString);
 }
Beispiel #3
0
 void Awake()
 {
     "StorageAutoname.Serializer: Awake".logDbg();
     helper = new SaveLoadHelper(onLoad, onSave);
 }