mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
Spear for example.
This commit is contained in:
parent
e0fffa79b3
commit
1af04a720d
@ -64,6 +64,7 @@ namespace Spine {
|
||||
skeleton = new Skeleton(json.ReadSkeletonData("data/goblins.json"));
|
||||
skeleton.SetSkin("goblingirl");
|
||||
skeleton.SetSlotsToBindPose(); // Without this the skin attachments won't be attached. See SetSkin.
|
||||
skeleton.SetAttachment("left hand item", "spear");
|
||||
animation = skeleton.Data.FindAnimation("walk");
|
||||
|
||||
skeleton.RootBone.X = 320;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user