- Edited
Texture Packer naming - make it copy folder structure?
Pretty much the title - is there any way we could get the texture packer to create atlases (and, on import in Unity, materials) that match the folder structure names?
For instance, I have a folder structure with 'global', 'characters' and 'weapons' subfolders ... I'd like the exported atlases to be named global.png, characters.png, weapons.png.
Currently, it looks like we have to pick one name on export (say ... characters), then the weapons folder ends up being packed into an atlas called characters2, with a material called characters_characters2, etc.
You could run the texture packer multiple times, once for each directory, also via command line:
Texture Packing - Spine User Guide: Texture atlas name
You can find a similar discussion here:
Separated atlas for each skin