private void save() { SolaFile.DeleteAppFile(SAVE_FILE_NAME); string content = _json.ToString(); SolaFile.CreateAppFile(SAVE_FILE_NAME, content); }
public JsonObject save() { if (_data == null) { return(null); } SolaFile.DeleteAppFile(DATA_NAME); string content = _data.ToString(); SolaFile.CreateAppFile(DATA_NAME, content); // Debug.Log ("Data saved."+content); return(_data); }