mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
[unity] Fixed SkeletonRenderer Mask Interaction not being persisted on 4.3 branch. Closes #3004.
This commit is contained in:
parent
5ab48156b4
commit
b07297d743
@ -37,10 +37,6 @@
|
|||||||
#define PER_MATERIAL_PROPERTY_BLOCKS
|
#define PER_MATERIAL_PROPERTY_BLOCKS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if UNITY_2017_1_OR_NEWER
|
|
||||||
#define BUILT_IN_SPRITE_MASK_COMPONENT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
|||||||
@ -35,10 +35,6 @@
|
|||||||
#define PER_MATERIAL_PROPERTY_BLOCKS
|
#define PER_MATERIAL_PROPERTY_BLOCKS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if UNITY_2017_1_OR_NEWER
|
|
||||||
#define BUILT_IN_SPRITE_MASK_COMPONENT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if UNITY_2019_3_OR_NEWER
|
#if UNITY_2019_3_OR_NEWER
|
||||||
#define CONFIGURABLE_ENTER_PLAY_MODE
|
#define CONFIGURABLE_ENTER_PLAY_MODE
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -35,10 +35,6 @@
|
|||||||
#define PER_MATERIAL_PROPERTY_BLOCKS
|
#define PER_MATERIAL_PROPERTY_BLOCKS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if UNITY_2017_1_OR_NEWER
|
|
||||||
#define BUILT_IN_SPRITE_MASK_COMPONENT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if UNITY_2019_3_OR_NEWER
|
#if UNITY_2019_3_OR_NEWER
|
||||||
#define CONFIGURABLE_ENTER_PLAY_MODE
|
#define CONFIGURABLE_ENTER_PLAY_MODE
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -35,10 +35,6 @@
|
|||||||
#define PER_MATERIAL_PROPERTY_BLOCKS
|
#define PER_MATERIAL_PROPERTY_BLOCKS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if UNITY_2017_1_OR_NEWER
|
|
||||||
#define BUILT_IN_SPRITE_MASK_COMPONENT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if UNITY_2019_3_OR_NEWER
|
#if UNITY_2019_3_OR_NEWER
|
||||||
#define CONFIGURABLE_ENTER_PLAY_MODE
|
#define CONFIGURABLE_ENTER_PLAY_MODE
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -121,7 +121,7 @@ namespace Spine.Unity {
|
|||||||
|
|
||||||
#if BUILT_IN_SPRITE_MASK_COMPONENT
|
#if BUILT_IN_SPRITE_MASK_COMPONENT
|
||||||
/// <seealso cref="MaskInteraction"/>
|
/// <seealso cref="MaskInteraction"/>
|
||||||
protected SpriteMaskInteraction maskInteraction = SpriteMaskInteraction.None;
|
[SerializeField] protected SpriteMaskInteraction maskInteraction = SpriteMaskInteraction.None;
|
||||||
|
|
||||||
/// <summary>Cached reference to the already setup material override set at the respective
|
/// <summary>Cached reference to the already setup material override set at the respective
|
||||||
/// SkeletonDataAsset.atlasAssets array entry.</summary>
|
/// SkeletonDataAsset.atlasAssets array entry.</summary>
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
"name": "com.esotericsoftware.spine.spine-unity",
|
"name": "com.esotericsoftware.spine.spine-unity",
|
||||||
"displayName": "spine-unity Runtime",
|
"displayName": "spine-unity Runtime",
|
||||||
"description": "This plugin provides the spine-unity runtime core and examples. Spine Examples can be installed via the Samples tab.",
|
"description": "This plugin provides the spine-unity runtime core and examples. Spine Examples can be installed via the Samples tab.",
|
||||||
"version": "4.3.35",
|
"version": "4.3.36",
|
||||||
"unity": "2018.3",
|
"unity": "2018.3",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Esoteric Software",
|
"name": "Esoteric Software",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user