diff --git a/Assets/MackySoft/MackySoft.SerializeReferenceExtensions/Editor/SubclassSelectorDrawer.cs b/Assets/MackySoft/MackySoft.SerializeReferenceExtensions/Editor/SubclassSelectorDrawer.cs index 6cdbecb..e05de67 100644 --- a/Assets/MackySoft/MackySoft.SerializeReferenceExtensions/Editor/SubclassSelectorDrawer.cs +++ b/Assets/MackySoft/MackySoft.SerializeReferenceExtensions/Editor/SubclassSelectorDrawer.cs @@ -57,7 +57,7 @@ public override void OnGUI (Rect position, SerializedProperty property, GUIConte 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; @@ -199,4 +199,4 @@ public override float GetPropertyHeight (SerializedProperty property,GUIContent } } -#endif \ No newline at end of file +#endif