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

@@ -0,0 +1,25 @@

namespace YooAsset.Editor
{
#if UNITY_2019
public static partial class UnityEngine_UIElements_ListView_Extension
{
public static void ClearSelection(this UnityEngine.UIElements.ListView o)
{
o.selectedIndex = -1;
}
}
#endif
#if UNITY_2019 || UNITY_2020
public static partial class UnityEngine_UIElements_ListView_Extension
{
public static void Rebuild(this UnityEngine.UIElements.ListView o)
{
o.Refresh();
}
}
#endif
}