[monogame] Fix example code.

This commit is contained in:
pharan 2018-10-09 07:07:27 +08:00 committed by GitHub
parent 910e88bbb3
commit 88c6c0e405
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);