ES3Internal.ES3JSONReader.SkipOpeningBraceOfFile () (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3JSONReader.cs:474)
Below is the code:
Code: Select all
public class SaveMgr
{
static public void LoadData()
{
Data.IsTip = ES3.Load("Tip", Data.SaveDataPath, true);
Data.IsCompleted = ES3.Load("Complete", Data.SaveDataPath, false);
Data.CurrentID = ES3.Load("CurrentID", Data.SaveDataPath, 1);
Data.HighestID = ES3.Load("HighestID", Data.SaveDataPath, 1);
SoundMgr.Inst.audioSource.volume = ES3.Load("SoundValue", Data.SaveDataPath, 1.0f);
}
static public void SaveData()
{
ES3.Save<bool>("Tip", Data.IsTip, Data.SaveDataPath);
ES3.Save<bool>("Complete", Data.IsCompleted, Data.SaveDataPath);
ES3.Save<int>("CurrentID", Data.CurrentID, Data.SaveDataPath);
ES3.Save<int>("HighestID", Data.HighestID, Data.SaveDataPath);
ES3.Save<float>("SoundValue", SoundMgr.Inst.audioSource.volume, Data.SaveDataPath);
}
}
static public string SaveDataPath = Application.dataPath + "/Save/SaveData";
The user encountered this problem and gave me this archive.
Can I view the data in savadata? I tried to open it with the TXT document and it was empty.
Please tell me what data is in savadata
My English is not good. It ’s all translated by Google. I hope you understand.