[monogame] Fix example code.

This commit is contained in:
pharan 2018-10-09 07:06:58 +08:00 committed by GitHub
parent cc57b680af
commit 61b8fcc696
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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