示例#1
0
    private void save()
    {
        SolaFile.DeleteAppFile(SAVE_FILE_NAME);

        string content = _json.ToString();

        SolaFile.CreateAppFile(SAVE_FILE_NAME, content);
    }
示例#2
0
    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);
    }