فهرست منبع

Spear for example.

NathanSweet 12 سال پیش
والد
کامیت
1af04a720d
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      spine-xna/example/src/ExampleGame.cs

+ 1 - 0
spine-xna/example/src/ExampleGame.cs

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