Update AssetBundleDebugger

This commit is contained in:
hevinci
2022-03-31 10:51:43 +08:00
parent 9ca3dc5c0d
commit b6c07cd956
5 changed files with 5 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ namespace YooAsset.Editor
{
// 加载布局文件
string rootPath = EditorTools.GetYooAssetPath();
string uxml = $"{rootPath}/Editor/AssetBundleDebugger/VisualViewers/BundleListDebuggerViewer.uxml";
string uxml = $"{rootPath}/Editor/AssetBundleDebugger/VisualViewers/{nameof(BundleListDebuggerViewer)}.uxml";
_visualAsset = AssetDatabase.LoadAssetAtPath<VisualTreeAsset>(uxml);
if (_visualAsset == null)
{