|
@@ -191,6 +191,7 @@ namespace Spine.Unity.Playables {
|
|
|
trackEntry.TimeScale = (float)clipPlayable.GetSpeed();
|
|
|
trackEntry.AttachmentThreshold = clipData.attachmentThreshold;
|
|
|
trackEntry.HoldPrevious = clipData.holdPrevious;
|
|
|
+ trackEntry.Alpha = clipData.alpha;
|
|
|
|
|
|
if (clipData.customDuration)
|
|
|
trackEntry.MixDuration = customMixDuration;
|
|
@@ -286,6 +287,7 @@ namespace Spine.Unity.Playables {
|
|
|
if (toAnimation != null) {
|
|
|
toEntry = dummyAnimationState.SetAnimation(0, toAnimation, clipData.loop);
|
|
|
toEntry.HoldPrevious = clipData.holdPrevious;
|
|
|
+ toEntry.Alpha = clipData.alpha;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -301,7 +303,7 @@ namespace Spine.Unity.Playables {
|
|
|
dummyAnimationState.Apply(skeleton);
|
|
|
} else {
|
|
|
if (toAnimation != null)
|
|
|
- toAnimation.Apply(skeleton, 0, toClipTime, clipData.loop, null, 1f, MixBlend.Setup, MixDirection.In);
|
|
|
+ toAnimation.Apply(skeleton, 0, toClipTime, clipData.loop, null, clipData.alpha, MixBlend.Setup, MixDirection.In);
|
|
|
}
|
|
|
|
|
|
if (skeletonAnimation) {
|