update editor code

调试窗口和报告窗口增加分屏功能。
This commit is contained in:
hevinci
2023-03-29 17:10:56 +08:00
parent 3943850bc1
commit 16e3001e51
25 changed files with 169 additions and 82 deletions

View File

@@ -24,7 +24,7 @@ namespace YooAsset.Editor
public void InitViewer()
{
// 加载布局文件
_visualAsset = EditorHelper.LoadWindowUXML<DebuggerBundleListViewer>();
_visualAsset = UxmlLoader.LoadWindowUXML<DebuggerBundleListViewer>();
if (_visualAsset == null)
return;
@@ -45,6 +45,10 @@ namespace YooAsset.Editor
_usingListView = _root.Q<ListView>("BottomListView");
_usingListView.makeItem = MakeIncludeListViewItem;
_usingListView.bindItem = BindIncludeListViewItem;
#if UNITY_2020_3_OR_NEWER
SplitView.Adjuster(_root);
#endif
}
/// <summary>