diff --git a/Assets/MackySoft/MackySoft.SerializeReferenceExtensions/Editor/SubclassSelectorDrawer.cs b/Assets/MackySoft/MackySoft.SerializeReferenceExtensions/Editor/SubclassSelectorDrawer.cs index e6a3f3e..3c15935 100644 --- a/Assets/MackySoft/MackySoft.SerializeReferenceExtensions/Editor/SubclassSelectorDrawer.cs +++ b/Assets/MackySoft/MackySoft.SerializeReferenceExtensions/Editor/SubclassSelectorDrawer.cs @@ -57,7 +57,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; @@ -205,4 +205,4 @@ namespace MackySoft.SerializeReferenceExtensions.Editor } } -#endif \ No newline at end of file +#endif