mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 17:56:04 +08:00
parent
dbd6ae87ad
commit
87af7aa4f9
@ -94,7 +94,7 @@ function start () {
|
|||||||
} else {
|
} else {
|
||||||
skeleton.setSkinByName("goblingirl");
|
skeleton.setSkinByName("goblingirl");
|
||||||
skeleton.setSlotsToSetupPose();
|
skeleton.setSlotsToSetupPose();
|
||||||
state.setAnimationByName("walk", true);
|
state.setAnimationByName(0, "walk", true);
|
||||||
|
|
||||||
canvas.onmousedown = function () {
|
canvas.onmousedown = function () {
|
||||||
skeleton.setSkinByName(skeleton.skin.name == "goblin" ? "goblingirl" : "goblin");
|
skeleton.setSkinByName(skeleton.skin.name == "goblin" ? "goblingirl" : "goblin");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user