From ccc2b5e6440ded1f6e995a0c016d1bcdb546c368 Mon Sep 17 00:00:00 2001 From: Harald Csaszar Date: Thu, 28 Mar 2024 16:51:51 +0100 Subject: [PATCH] [csharp] Fixed ShearYTimeline.Apply using bone.shearX instead of shearY. --- spine-csharp/src/Animation.cs | 2 +- spine-csharp/src/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spine-csharp/src/Animation.cs b/spine-csharp/src/Animation.cs index 3087dc60b..45c676e41 100644 --- a/spine-csharp/src/Animation.cs +++ b/spine-csharp/src/Animation.cs @@ -976,7 +976,7 @@ namespace Spine { override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList firedEvents, float alpha, MixBlend blend, MixDirection direction) { Bone bone = skeleton.bones.Items[boneIndex]; - if (bone.active) bone.shearY = GetRelativeValue(time, alpha, blend, bone.shearX, bone.data.shearY); + if (bone.active) bone.shearY = GetRelativeValue(time, alpha, blend, bone.shearY, bone.data.shearY); } } diff --git a/spine-csharp/src/package.json b/spine-csharp/src/package.json index 774f0575f..6479e8467 100644 --- a/spine-csharp/src/package.json +++ b/spine-csharp/src/package.json @@ -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.17", + "version": "4.2.18", "unity": "2018.3", "author": { "name": "Esoteric Software",