From 20fac33efc35ecdbf8b520cc802905b45c6186f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E5=86=A0=E5=B3=B0?= Date: Tue, 14 Jan 2025 16:43:44 +0800 Subject: [PATCH] fix #424 --- Assets/YooAsset/Editor/UIElements/UIElementsDefine.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 /// /// 窗口分屏适配