YooAssetSetting folder search location

YooAssetSetting文件夹全路径搜索定位
This commit is contained in:
hevinci
2022-04-28 23:29:15 +08:00
parent 62f1c050ca
commit 3de44a416c
14 changed files with 80 additions and 60 deletions

View File

@@ -51,7 +51,7 @@ namespace YooAsset.Editor
VisualElement root = this.rootVisualElement;
// 加载布局文件
string rootPath = EditorTools.GetYooAssetPath();
string rootPath = EditorTools.GetYooAssetSourcePath();
string uxml = $"{rootPath}/Editor/AssetBundleReporter/{nameof(AssetBundleReporterWindow)}.uxml";
var visualAsset = AssetDatabase.LoadAssetAtPath<VisualTreeAsset>(uxml);
if (visualAsset == null)