Skip to content

Commit 352b718

Browse files
committed
Fixed property drawers not working on certain version of Unity.
1 parent d11cef7 commit 352b718

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Scripts/Editor/PropertyDrawers/SOCItemPropertyDrawer.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ namespace BrunoMikoski.ScriptableObjectCollections
1111
{
1212
#if UNITY_2022_2_OR_NEWER
1313
[CustomPropertyDrawer(typeof(ISOCItem), true)]
14-
#else
15-
[CustomPropertyDrawer(typeof(ScriptableObjectCollectionItem), true)]
1614
#endif
15+
[CustomPropertyDrawer(typeof(ScriptableObjectCollectionItem), true)]
1716
public class SOCItemPropertyDrawer : PropertyDrawer
1817
{
1918
private const float BUTTON_WIDTH = 30;

0 commit comments

Comments
 (0)