public void SaveData() { string json = JsonUtility.ToJson(this); SaveUtility.SaveInProject(json, NodeConsts.FullResourcesFolder + "/" + NodeConsts.CLASS_DATA_FILE); idHandler.OnSaveFile(); AssetDatabase.Refresh(); }
public void Save() { var json = JsonUtility.ToJson(this); SaveUtility.SaveInProject(json, NodeConsts.FullResourcesFolder + "/" + NodeConsts.USECASE_DATA_FILE); IdHandler.GetInstance().OnSaveFile(); AssetDatabase.Refresh(); }
public void OnSaveFile() { string json = JsonUtility.ToJson(this); SaveUtility.SaveInProject(json, NodeConsts.FullResourcesFolder + "/" + NodeConsts.ID_HANDLER); }