diff --git a/Assets/MackySoft/MackySoft.SerializeReferenceExtensions/Editor/SubclassSelectorDrawer.cs b/Assets/MackySoft/MackySoft.SerializeReferenceExtensions/Editor/SubclassSelectorDrawer.cs index 898d199..365ab9a 100644 --- a/Assets/MackySoft/MackySoft.SerializeReferenceExtensions/Editor/SubclassSelectorDrawer.cs +++ b/Assets/MackySoft/MackySoft.SerializeReferenceExtensions/Editor/SubclassSelectorDrawer.cs @@ -56,7 +56,7 @@ namespace MackySoft.SerializeReferenceExtensions.Editor Rect foldoutRect = new Rect(position); foldoutRect.height = EditorGUIUtility.singleLineHeight; -#if UNITY_2022_2_OR_NEWER +#if UNITY_2022_2 // NOTE: Position x must be adjusted. // FIXME: Is there a more essential solution...? foldoutRect.x -= 12; @@ -197,4 +197,4 @@ namespace MackySoft.SerializeReferenceExtensions.Editor } } -} \ No newline at end of file +}