简体   繁体   English

您如何用脊椎换皮? libgdx

[英]How do you change skins with spine? libgdx

Is there anyway to change skins programatically using the spine-libgdx runtime? 无论如何,可以使用spine-libgdx运行时以编程方式更改外观吗?

If not, is there at least a way to remove individual body parts or add them? 如果不是,是否至少有一种方法可以删除或添加单个身体部位?

You'd change skins like this. 你会这样换皮肤。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM