pull/455/head
何冠峰 2025-01-14 16:43:44 +08:00
parent 8cf356cadb
commit 20fac33efc
1 changed files with 7 additions and 1 deletions

View File

@ -12,9 +12,15 @@ namespace YooAsset.Editor
/// </summary> /// </summary>
public class SplitView : TwoPaneSplitView public class SplitView : TwoPaneSplitView
{ {
public new class UxmlFactory : UxmlFactory<SplitView, TwoPaneSplitView.UxmlTraits> #if UNITY_6000_0_OR_NEWER
public new class UxmlFactory : UxmlElementAttribute
{ {
} }
#else
public new class UxmlFactory : UxmlFactory<SplitView, TwoPaneSplitView.UxmlTraits>
{
}
#endif
/// <summary> /// <summary>
/// 窗口分屏适配 /// 窗口分屏适配