Explorar o código

[xna] Fix example code.

pharan %!s(int64=7) %!d(string=hai) anos
pai
achega
d98efecd8a
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      spine-xna/example/src/ExampleGame.cs

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

@@ -119,6 +119,8 @@ namespace Spine {
 			state = new AnimationState(stateData);
 
 			if (name == "spineboy-ess") {
+				skeleton.SetAttachment("head-bb", "head");
+
 				stateData.SetMix("run", "jump", 0.2f);
 				stateData.SetMix("jump", "run", 0.4f);