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
  • 帖子: 8

Mario

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

Mario
  • 帖子: 3035


回到 Runtimes