• Unity
  • Attaching animated sprite to spine-skeleton

Related Discussions
...

Is it possible to attach an animated sprite to a spine-skeleton using the slot feature, and if so, how do I do this?
I tried following this tutorial ( but discovered that it was a bit too old, and I've been struggling to find any updated way of doing this.

I'd love to get some help with what I need to write to attach my sprite to a slot on my skeleton!

Basically it is possible to attach Unity's Sprites to a Slot, you can use the extension methods sprite.ToRegionAttachment() and sprite.ToRegionAttachmentPMAClone() for this purpose. You can have a look at the code in this example component, which can be found in Spine Examples/Scripts/Sample Components/Legacy/SpriteAttacher.cs: spine-runtimes/SpriteAttacher.cs at 3.8

If however you want to attach an animated Sprite and not a static one, this might not work as it is not carrying the frame-by-frame animation over. For this purpose you can use a BoneFollower Component to let a separate GameObject follow your desired bone.