RalphYDY Some of the slot attachments in the animation bound mesh . I want to dynamically replace the skin texture for these attachments in Unity. when I cached these initial attachments, the binding attachment was Null when it was converted to RegionAttachment class(As shown in the figure, the attachment in slot 'shoes_l' is Null), so I could not change the texture of slot attachments. How should I handle this?Or please tell me how to dynamically replace the Textrue of the attachment bound to the meshes?
RalphYDY sorry I made a rookie mistake,It should be converted to the MeshAttachment type.But I still want Know How to dynamically replace the Textrue of the MeshAttachment?
Harald Please check out the example scenes Spine Examples/Other Examples/Mix and Match and Mix and Match Equip that come with the spine-unity runtime on how to replace single attachments. Check out the Skin API documentation below, and the example scene Mix and Match Skins to see it in action: https://esotericsoftware.com/spine-unity#Combining-Skins
RalphYDY Harald Thanks for replying, I really appreciate the help on this one. 'll Check out the example scene.