不好意思 因為每張牌會有4種不同的花色,想透過皮膚的功能來切換,但只要切換到另一個骨骼的皮膚之後,之前的皮膚就不會顯示,想請問有什麼方法可以讓他們同時顯示嗎? 另外導入遊戲引擎之後是否也會有同樣的問題 謝謝~
皮膚功能切換問題
stu80728 我猜你要找的是皮肤视图中的图钉功能。当鼠标移到皮肤上时,每个皮肤在皮肤视图的右边缘都有一个图钉。点击图钉后,图钉会变成橙色,表示该皮肤已被固定,并且该皮肤会出现在固定皮肤列表中。点击橙色图钉将取消皮肤的固定:
http://esotericsoftware.com/spine-skins-view#Skins-view
通过将多个皮肤组合成一个新皮肤,还可以在运行时同时显示多个皮肤。更多信息,请参阅运行时文档:
http://en.esotericsoftware.com/spine-runtime-skins#Grouping-attachments
I assume that what you are looking for is the Pin function in the Skins view. Each skin has a pin at the right edge of the skins view when the mouse is over the skin. When the pin is clicked, it turns orange to indicate the skin is pinned and the skin appears in the pinned skins list. Clicking the orange pin will unpin the skin:
http://esotericsoftware.com/spine-skins-view#Skins-view
Multiple skins can also be displayed simultaneously at runtime by combining them into a new skin. For more information, please see the runtime documentation:
http://en.esotericsoftware.com/spine-runtime-skins#Grouping-attachments