• 中文
  • 求教~Spine-webgl如何进行外部图片换肤

求大佬教教Spine-webgl如何进行外部图片换肤 😢 😢

Related Discussions
...

你必须比那更具体一点。 你到底想做什么? 请举例说明。
You'll have to be a bit more specific than that. What is it you want to do exactly? Please show examples.

比如我要单独替换一个人物模型的手臂,这张手臂是一张单独的图片,想要将人物模型的手臂替换为这张图片。

Have a look at our dress-up example:
https://github.com/EsotericSoftware/spine-runtimes/blob/4.0/spine-ts/spine-webgl/example/dress-up.html

It uses Spine's Skins feature, which is much more flexible and structured than manually adding/removing images in code:
皮肤 - Spine用户指南

Have a look at our dress-up example:
https://github.com/EsotericSoftware/spine-runtimes/blob/4.0/spine-ts/spine-webgl/example/dress-up.html

It uses Spine's Skins feature, which is much more flexible and structured than manually adding/removing images in code:
皮肤 - Spine用户指南