SerjChey

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"));
...
SerjChey
  • Postovi: 8

Mario

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

Mario
  • Postovi: 3043


Natrag na Runtimes