mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 17:56:04 +08:00
[unity] Corrected #if guards for Unity 5.x compatibility before Unity added SpriteMasks. See #941.
This commit is contained in:
parent
8b1359db0b
commit
638e176f59
@ -34,7 +34,7 @@
|
|||||||
#define NO_PREFAB_MESH
|
#define NO_PREFAB_MESH
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if UNITY_2017_OR_NEWER
|
#if UNITY_2017_1_OR_NEWER
|
||||||
#define BUILT_IN_SPRITE_MASK_COMPONENT
|
#define BUILT_IN_SPRITE_MASK_COMPONENT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@ -44,7 +44,7 @@
|
|||||||
#define NEWHIERARCHYWINDOWCALLBACKS
|
#define NEWHIERARCHYWINDOWCALLBACKS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if UNITY_2017_OR_NEWER
|
#if UNITY_2017_1_OR_NEWER
|
||||||
#define BUILT_IN_SPRITE_MASK_COMPONENT
|
#define BUILT_IN_SPRITE_MASK_COMPONENT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@ -32,7 +32,7 @@
|
|||||||
#define NEW_PREFAB_SYSTEM
|
#define NEW_PREFAB_SYSTEM
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if UNITY_2017_OR_NEWER
|
#if UNITY_2017_1_OR_NEWER
|
||||||
#define BUILT_IN_SPRITE_MASK_COMPONENT
|
#define BUILT_IN_SPRITE_MASK_COMPONENT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user