- Edited
Unity - Sharing atlases between Spine and Unity2D
Is there any way to use the same atlas with Spine & Unity2D?
Each of our "levels" is a single 2048x2048 spritesheet. Some of these sprites are used by Spine and some are just normal 2D sprites.
Right now we're creating dummy spine animations to just render a single static sprite but this is obviously not ideal. Plus, we need to start doing things like rendering the sprites as 9-sliced, tiled, etc - not possible with dummy spine animations.
So, ideally we can just build 1 atlas (either via Spine, a 3rd party tool, or inside of Unity) and have Spine & Unity both share it.
I see this is possible using tk2d, where you can build a tk2d atlas and have spine use it - but we're trying to avoid using tk2d for any new work (trying to transition to Unity2D).
What are our options here?
Select your atlas and start checking the checkboxes. it will export the atlas entries as mesh quads/prefabs and keep them updated any time the atlas changes (as long as they stay in the same folder)
Err, as for 9 slice, technically you could set this up in Spine with Weights right? You can simply disable the SkeletonAnimation when its done to save on performance.
Close - you can't do tiling in a 9-slice way with weights.