diff --git a/Assets/YooAsset/Editor/EditorTools.cs b/Assets/YooAsset/Editor/EditorTools.cs index f8d2b78..b0d722e 100644 --- a/Assets/YooAsset/Editor/EditorTools.cs +++ b/Assets/YooAsset/Editor/EditorTools.cs @@ -107,9 +107,9 @@ namespace YooAsset.Editor /// 标题名称 /// 默认搜索路径 /// 返回选择的文件夹绝对路径,如果无效返回NULL - public static string OpenFolderPanel(string title, string defaultPath) + public static string OpenFolderPanel(string title, string defaultPath, string defaultName = "") { - string openPath = EditorUtility.OpenFolderPanel(title, defaultPath, string.Empty); + string openPath = EditorUtility.OpenFolderPanel(title, defaultPath, defaultName); if (string.IsNullOrEmpty(openPath)) return null;