• Unity
  • Accessing Spines Atlas information.

Hello again (its been a while)

I was wondering if there was a way to access spines texture atlas parsing information.

I wanna loop through all the sprites in a texture atlas and draw them as is for a specific tool I'm creating
and was hoping spines existing api could help me do that. (instead of writing my own parser)

Related Discussions
...
  • Изменено

Of course there is a way, please see the SpineAtlasAsset (or its baseclass AtlasAssetBase) class.
You can hold a reference to the SpineAtlasAsset and call the GetAtlas() method to receive a Spine.Atlas object which allows you to iterate over the AtlasRegions.