Example #1
0
 private static void DoSaveData()
 {
     _data.LastSaveTime = TimeUtility.GetCurrentSeconds();
     LocalStorage.Write(SaveDataMgr.DataNamePlayer, JsonMapper.ToJson(Data), LocalStorage.EStorageType.SaveData);
     Debug.Log("SavePlayerData!");
 }