public void SaveGeneralData() { this.CheckThreadSafe(); string str = ConfigUtil.SaveJSONStrConfig <GeneralLocalDataItem>(this._generalData); PlayerPrefs.SetString("GENERAL_DATA", str); }
public void Save() { this.CheckThreadSafe(); string str = ConfigUtil.SaveJSONStrConfig <UserLocalDataItem>(this._userLocalData); PlayerPrefs.SetString(this.GetPrefsKey(), str); }