mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 08:38:43 +08:00
[csharp] Fixed transform constraint binary reading, didn't read local/relative properties
This commit is contained in:
parent
023bec462f
commit
03c41b7667
@ -216,6 +216,8 @@ namespace Spine {
|
||||
for (int ii = 0, nn = ReadVarint(input, true); ii < nn; ii++)
|
||||
data.bones.Add(skeletonData.bones.Items[ReadVarint(input, true)]);
|
||||
data.target = skeletonData.bones.Items[ReadVarint(input, true)];
|
||||
data.local = ReadBoolean(input);
|
||||
data.relative = ReadBoolean(input);
|
||||
data.offsetRotation = ReadFloat(input);
|
||||
data.offsetX = ReadFloat(input) * scale;
|
||||
data.offsetY = ReadFloat(input) * scale;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user