Thank you! Works perfectly!
28 Sep 2017, 12:58
Pharan a écritThis will make a new attachment but it won't have any alignment data so you have align it yourself by setting the x, y, rotation, scaleX, scaleY yourself, and update the verts after.
How do I update the verts of an attachment? I'm not seeing any methods available to the attachment itself.
Also, have you guys looking into streamlining the new UnityEngine.SpriteAtlas into the Spine-Unity runtime? It would be fantastic if I could just covert the spriteAtlas into a spine atlas and it would retain all the pivot points of the sprites in the spriteAtlas. At the moment, I am feel I am forced to use unity sprites/atlas since the spine atlas doesn't hold pivot point data (at least when using the texture packer feature).