void Generate() { MapSettings ms = new MapSettings(eDepthDimess, textureSavePathRelativeToProject, mapDataSavePathRelativeToProject); FileHelp.SaveStringFile(JsonConvert.SerializeObject(ms), FileHelp.GetFullPathByDataPathRelativePath(MapSettings.mapSettingsProfilesPath)); AssetDatabase.Refresh(); }