- 수정됨
Spine to Unity, recycled textures with transforms
Hi, I'm new to the forums here but not Spine. We are using LayerToPNG script in Photoshop, then importing that data into Spine no prob. To keep the unity texture files to a minimum, we would like to recycle certain assets, scale and rotate the same image as much as possible. Is there a way to export just the one original image from photoshop and then have Spine recognize that its all the same object, just different transforms?
Multiple skeletons can share the same packed atlas.
You just have to set the references yourself in each SkeletonData asset to use the same AtlasAsset.
This is particularly common if you are animating many effects skeletons that need to be spawned a lot with some variety and combination.
For more info on how to pack an atlas to be shared across skeletons, you can check this page: Texture Packing - Spine User Guide