private static void UpdateAsset(List <string> paths) { bool isUpdate = false; foreach (var item in paths) { if (item.Contains("Assets/Resources")) { isUpdate = true; break; } } if (isUpdate) { BundleConfigEditorWindow win = EditorWindow.GetWindow <BundleConfigEditorWindow>(); win.AddResEndSave(); win.Close(); Debug.Log("创建资源路径文件"); } }
static string GetExportPath(string path, string name) { return(Application.dataPath + "/StreamingAssets/" + BundleConfigEditorWindow.GetRelativePath(FileTool.RemoveExpandName(path))); }