mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
[csharp] Port of commit 9d49999: Changed SequenceTimeline to match AttachmentTimeline behavior. See #2687.
This commit is contained in:
parent
e327e9beb5
commit
303cd85308
@ -2782,6 +2782,11 @@ namespace Spine {
|
||||
Sequence sequence = ((IHasTextureRegion)slotAttachment).Sequence;
|
||||
if (sequence == null) return;
|
||||
|
||||
if (direction == MixDirection.Out) {
|
||||
if (blend == MixBlend.Setup) slot.SequenceIndex = -1;
|
||||
return;
|
||||
}
|
||||
|
||||
float[] frames = this.frames;
|
||||
if (time < frames[0]) {
|
||||
if (blend == MixBlend.Setup || blend == MixBlend.First) slot.SequenceIndex = -1;
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
"name": "com.esotericsoftware.spine.spine-csharp",
|
||||
"displayName": "spine-csharp Runtime",
|
||||
"description": "This plugin provides the spine-csharp core runtime.",
|
||||
"version": "4.2.31",
|
||||
"version": "4.2.32",
|
||||
"unity": "2018.3",
|
||||
"author": {
|
||||
"name": "Esoteric Software",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user