فهرست منبع

[unity] Fixed wond IKConstraint timeline bend-direction with skeleton binary. Closes #2448.

Harald Csaszar 1 سال پیش
والد
کامیت
cb33b34a4a
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      spine-csharp/src/SkeletonBinary.cs
  2. 1 1
      spine-csharp/src/package.json

+ 1 - 1
spine-csharp/src/SkeletonBinary.cs

@@ -872,7 +872,7 @@ namespace Spine {
 				float time = input.ReadFloat(), mix = input.ReadFloat(), softness = input.ReadFloat() * scale;
 				float time = input.ReadFloat(), mix = input.ReadFloat(), softness = input.ReadFloat() * scale;
 				for (int frame = 0, bezier = 0; ; frame++) {
 				for (int frame = 0, bezier = 0; ; frame++) {
 					int flags = input.Read();
 					int flags = input.Read();
-					timeline.SetFrame(frame, time, mix, softness, input.ReadByte(), (flags & 1) != 0, (flags & 2) != 0);
+					timeline.SetFrame(frame, time, mix, softness, input.ReadSByte(), (flags & 1) != 0, (flags & 2) != 0);
 					if (frame == frameLast) break;
 					if (frame == frameLast) break;
 					float time2 = input.ReadFloat(), mix2 = input.ReadFloat(), softness2 = input.ReadFloat() * scale;
 					float time2 = input.ReadFloat(), mix2 = input.ReadFloat(), softness2 = input.ReadFloat() * scale;
 					switch (input.ReadByte()) {
 					switch (input.ReadByte()) {

+ 1 - 1
spine-csharp/src/package.json

@@ -2,7 +2,7 @@
 	"name": "com.esotericsoftware.spine.spine-csharp",
 	"name": "com.esotericsoftware.spine.spine-csharp",
 	"displayName": "spine-csharp Runtime",
 	"displayName": "spine-csharp Runtime",
 	"description": "This plugin provides the spine-csharp core runtime.",
 	"description": "This plugin provides the spine-csharp core runtime.",
-	"version": "4.2.7",
+	"version": "4.2.8",
 	"unity": "2018.3",
 	"unity": "2018.3",
 	"author": {
 	"author": {
 		"name": "Esoteric Software",
 		"name": "Esoteric Software",