void ExportToJson(object context) { var path = EditorUtility.SaveFilePanel("Export Asset Bundle Settings", "", "AssetBundles.json", "json"); if (!string.IsNullOrEmpty(path)) { ExportImport.ExportToJson(path); } }
void ImportFromJson(object context) { var path = EditorUtility.OpenFilePanel("Import Asset bundle Settings", "", "json"); if (!string.IsNullOrEmpty(path)) { ExportImport.ImportFromJson(path); } Refresh(); }