diff --git a/Assets/YooAsset/Editor/UIElements/ElementsDefine/ResizeHandle.cs b/Assets/YooAsset/Editor/UIElements/ElementsDefine/ResizeHandle.cs
index 87e4280a..adae4675 100644
--- a/Assets/YooAsset/Editor/UIElements/ElementsDefine/ResizeHandle.cs
+++ b/Assets/YooAsset/Editor/UIElements/ElementsDefine/ResizeHandle.cs
@@ -9,12 +9,15 @@ namespace YooAsset.Editor
{
public class ResizeHandle : VisualElement
{
- ///
- /// Instantiates a TableView using data from a UXML file.
- ///
+#if UNITY_6000_0_OR_NEWER
+ public new class UxmlFactory : UxmlElementAttribute
+ {
+ }
+#else
public new class UxmlFactory : UxmlFactory
{
}
+#endif
private bool _isResizing = false;
private float _initialWidth;
diff --git a/Assets/YooAsset/Editor/UIElements/TableView/TableView.cs b/Assets/YooAsset/Editor/UIElements/TableView/TableView.cs
index fdc4ec4b..99a6787e 100644
--- a/Assets/YooAsset/Editor/UIElements/TableView/TableView.cs
+++ b/Assets/YooAsset/Editor/UIElements/TableView/TableView.cs
@@ -15,12 +15,15 @@ namespace YooAsset.Editor
///
public class TableView : VisualElement
{
- ///
- /// Instantiates a TableView using data from a UXML file.
- ///
+#if UNITY_6000_0_OR_NEWER
+ public new class UxmlFactory : UxmlElementAttribute
+ {
+ }
+#else
public new class UxmlFactory : UxmlFactory
{
}
+#endif
private readonly Toolbar _toolbar;
private readonly ListView _listView;