mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
[monogame] Fix example code.
This commit is contained in:
parent
cc57b680af
commit
61b8fcc696
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user