public void LoadEntitiesFromSaveFile(Contexts contexts, string saveFileName) { var savedTuple = _templateLoader.LoadSavedEntityFile(saveFileName); var saveData = JsonConvert.DeserializeObject <EntitiesSaveData>(savedTuple.Item2); foreach (var entityInfo in saveData.EntityInfos) { MakeEntityFromEntityInfo(entityInfo, contexts); } Debug.WriteLine("LoadEntitiesFromSaveFile done!"); }