Skip to content

Commit 904ba16

Browse files
committed
Fix of issue with the build
+The optional property drawer class used in Editor is not available in build, but was still included in compilation which resulted in build error
1 parent f6da3ae commit 904ba16

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Assets/TimeRewinder/TimeRewinderImplementation/Scripts/Utils/OptionalPropertyDrawer.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#if UNITY_EDITOR
12
using UnityEditor;
23
using UnityEngine;
34

@@ -37,4 +38,5 @@ GUIContent label
3738
EditorGUI.EndProperty();
3839
}
3940
}
40-
}
41+
}
42+
#endif

0 commit comments

Comments
 (0)