2D Toolkit Forum
2D Toolkit => Support => Topic started by: beneuji on November 19, 2014, 01:20:20 pm
-
Hello there !
I'd like to know if there's a function to force build all atlases in te project(we'd use it when building the app).
I'm no programer, if you could point me to where my programer should look, that would be awesome. (i searched the forum, but couldn't find anything relevant)
Thanks,
ben
-
Hi,
There isn't, and you probably shouldn't do that on 32 bit Unity, you're likely to run out of memory if you build everything one after another...
But if you want to do it, you can get a list of all sprite collections in the tk2dIndex, and then for each of them, tk2dSpriteCollectionBuilder.Rebuild(spriteCollection);