版本3.7.4,sp.Skeleton没有setSlotTexture方法?该如何实现局部换装呢?
内部贴图:
const atta = skin.getAttachment(slotIndex, targetAttaName);
slot.setAttachment(atta);
外部贴图:
const region = new sp.spine.TextureAtlasRegion();
attachment.region = region;
版本3.7.4,sp.Skeleton没有setSlotTexture方法?该如何实现局部换装呢?
内部贴图:
const atta = skin.getAttachment(slotIndex, targetAttaName);
slot.setAttachment(atta);
外部贴图:
const region = new sp.spine.TextureAtlasRegion();
attachment.region = region;