Skip to content

Commit 272a77f

Browse files
committed
Added directive to editor script to prevent build issues
1 parent 8b6f59a commit 272a77f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Assets/PhotoMode/PM-Scripts/Editor Scripts/MinMaxDrawer.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace PhotoMode
66
{
7-
7+
#if UNITY_EDITOR
88
// IngredientDrawer
99
[CustomPropertyDrawer(typeof(MinMax))]
1010
public class MinMaxDrawer : PropertyDrawer
@@ -44,4 +44,5 @@ public override void OnGUI(Rect position, SerializedProperty property, GUIConten
4444
EditorGUI.EndProperty();
4545
}
4646
}
47+
#endif
4748
}

0 commit comments

Comments
 (0)