How do you change skins with spine? libgdx

399 Views Asked by At

Is there anyway to change skins programatically using the spine-libgdx runtime?

If not, is there at least a way to remove individual body parts or add them?

1

There are 1 best solutions below

0
On BEST ANSWER

You'd change skins like this.

Skeleton skeleton = new Skeleton(skeletonData);
...
skeleton.setSkin("goblin");