Пример #1
0
 void Start()
 {
     jsonSavePath = Application.persistentDataPath + "/cuberunner.json";
     Debug.Log(jsonSavePath);
     if (File.Exists(jsonSavePath))
     {
         SaveLoadJson.LoadData();
     }
 }
Пример #2
0
 void Start()
 {
     jsonSavePath = Application.persistentDataPath + "/lemonadestand.json";
     Debug.Log(jsonSavePath);
     if (File.Exists(jsonSavePath))
     {
         SaveLoadJson.LoadData();
     }
     StartCoroutine(AutoSave());
 }