• Runtimes
  • [Spine Web Player] Skins

  • Изменено
Related Discussions
...

Hi, please tell me how can I use more than one skin at a time?
I tried to use setSkinByName twice and it just replaced the previous skin instead of displaying two (


I found the answer:

let newSkin = new spine.Skin("new-skin");
newSkin.addSkin(player.skeleton.data.findSkin("body"));
newSkin.addSkin(player.skeleton.data.findSkin("ears"));
...

Ah, you're too fast. That's exactly how it works!