public Dictionary <string, object> Save() { //create new dictionary to contain data for characterbase Dictionary <string, object> dataDictionary = new Dictionary <string, object>(); if (!uuid) { return(dataDictionary); } //Load currently saved values DataPersitanceHelpers.LoadDictionary(ref dataDictionary, uuid.ID); //save transform DataPersitanceHelpers.SaveTransform(ref dataDictionary, transform, "persistantTransform"); //save json to file DataPersitanceHelpers.SaveDictionary(ref dataDictionary, uuid.ID); return(dataDictionary); }