AttachUnitySprite not available - Spine Unity

Hello,

I started to use Spine with Unity now, and I was trying to attach a weapon on my character’s hand.
I was following this tutorial:
Spine Unity Sprite Attachments

When he is creating the Attacher Script, he use skeletonRenderer.skeleton.AttachUnitySprite(slot, sprite);

I tried to do it, but on my Unity (2017.1) only appears SetAttachment and GetAttachment. I’m doing something wrong, or there’s a new way to do this Weapon Attachment?

Thank you!

Hi.
Add and setup component SpriteAttacher at Inspector.

Then use this code:

        mySpriteAttacher.sprite = ball.View.sprite;
        mySpriteAttacher.Initialize();
        mySpriteAttacher.Attach();