Hi, I'm working on a spine project with about 4 animation, of images like this
I got 5 images (-2, -1, 0, +1, +2), let's call it 1, 2, 3, 4, 5
There'll be 2-3-4 on the screen, and when i press next-btn they turn to 3-4-5 (prev button is the same but in reverse)
Which mean, after animation [next], 1-2-3-4-5 change to 2-3-4-5-6
I got about 40+ images, that's absolutely a pain in something if I have to make each of shifting animation as animation and to key each of these images (and also titles of those images, which mean, triple the works) as in each animation in Spine
(and also, those images may change when we got game update, a further pain whenever I have to update the files)
So i create only 4 animations with these 5 images and
I wondering if there's someway to manually generate/change images of the sprite using code?
as far as I found, I can manually create atlas with names, so is there available way to edit json file (change attachment) and reload it in runtime?
I just found the way, that is remove all attachment key and use SetAttachment in specific event