mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[csharp] Port of commit f656d98. Fixed ScaleYTimeline.
This commit is contained in:
parent
8c79c7c1de
commit
4bcd3496bc
@ -856,7 +856,7 @@ namespace Spine {
|
|||||||
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> firedEvents, float alpha, MixBlend blend,
|
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> firedEvents, float alpha, MixBlend blend,
|
||||||
MixDirection direction) {
|
MixDirection direction) {
|
||||||
Bone bone = skeleton.bones.Items[boneIndex];
|
Bone bone = skeleton.bones.Items[boneIndex];
|
||||||
if (bone.active) bone.scaleY = GetScaleValue(time, alpha, blend, direction, bone.scaleX, bone.data.scaleY);
|
if (bone.active) bone.scaleY = GetScaleValue(time, alpha, blend, direction, bone.scaleY, bone.data.scaleY);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user