diff --git a/Assets/YooAsset/Editor/UIElements/UIElementsDefine.cs b/Assets/YooAsset/Editor/UIElements/UIElementsDefine.cs index 52c086c1..8366514d 100644 --- a/Assets/YooAsset/Editor/UIElements/UIElementsDefine.cs +++ b/Assets/YooAsset/Editor/UIElements/UIElementsDefine.cs @@ -12,9 +12,15 @@ namespace YooAsset.Editor /// public class SplitView : TwoPaneSplitView { - public new class UxmlFactory : UxmlFactory +#if UNITY_6000_0_OR_NEWER + public new class UxmlFactory : UxmlElementAttribute { } +#else + public new class UxmlFactory : UxmlFactory + { + } +#endif /// /// 窗口分屏适配