Spear for example.

This commit is contained in:
NathanSweet 2013-04-24 22:12:34 +02:00
parent e0fffa79b3
commit 1af04a720d

View File

@ -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;