Эх сурвалжийг харах

[monogame] Fix example code.

pharan 7 жил өмнө
parent
commit
88c6c0e405

+ 2 - 0
spine-monogame/example/ExampleGame.cs

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