Skip to content

Commit

Permalink
[monogame] Fix example code.
Browse files Browse the repository at this point in the history
  • Loading branch information
pharan committed Oct 8, 2018
1 parent cc57b68 commit 61b8fcc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spine-monogame/example/ExampleGame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ protected override void LoadContent() {
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);

Expand Down

0 comments on commit 61b8fcc

Please sign in to comment.