HanHanan

Spine4.0版本现在有什么推荐的方式去实现不同图集下的局部换装么?

如果是通过切换皮肤的全部换装这个是我现在清楚的,但是我的需求是只更换Spine内某个Slot下的Attachment,如果通过SetAttachment的方法,必须要求设置的attachment name都在同一个图集下,有没有什么方法可以实现不同图集下的局部更换attachment?
HanHanan
  • Posts: 2

Harald

spin-unity 运行时包包含一个示例组件AtlasRegionAttacher,它分配来自另一个图集的附件,以及一个演示其用法的同名示例场景。 你可以在里面找到场景
Spine Examples/Other Examples/AtlasRegionAttacher
-----
The spine-unity runtime package contains an example component AtlasRegionAttacher which assigns attachments from another atlas, and an example scene of the same name which demonstrates its usage. You can find the scene in
Spine Examples/Other Examples/AtlasRegionAttacher.
User avatar
Harald

Harri
  • Posts: 4107


Return to 中国Spine用户