[unity] Corrected #if guards for Unity 5.x compatibility before Unity added SpriteMasks. See #941.

This commit is contained in:
Harald Csaszar 2019-02-19 19:54:59 +01:00
parent 8b1359db0b
commit 638e176f59
3 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@
#define NO_PREFAB_MESH
#endif
#if UNITY_2017_OR_NEWER
#if UNITY_2017_1_OR_NEWER
#define BUILT_IN_SPRITE_MASK_COMPONENT
#endif

View File

@ -44,7 +44,7 @@
#define NEWHIERARCHYWINDOWCALLBACKS
#endif
#if UNITY_2017_OR_NEWER
#if UNITY_2017_1_OR_NEWER
#define BUILT_IN_SPRITE_MASK_COMPONENT
#endif

View File

@ -32,7 +32,7 @@
#define NEW_PREFAB_SYSTEM
#endif
#if UNITY_2017_OR_NEWER
#if UNITY_2017_1_OR_NEWER
#define BUILT_IN_SPRITE_MASK_COMPONENT
#endif