2D Toolkit Forum
2D Toolkit => Support => Topic started by: zynbasil on January 02, 2014, 02:34:35 am
-
I test collection in ios.
Make a collection with many pic. (create about 14 atlas)
Create sprite just use one pic in this collection, then I open profiler check the memory, i found all atlas load in memory.
This case can be solved? or what can I do ?
-
That how memory management in Unity works. Only use multi atlas spanning for long animations where you need all of them resident in memory. Otherwise create separate atlases explicitly.
-
How can I remove null used atlas when game running ?
-
Destroy the sprites using the sprite collection, then call Resources.UnloadUnusedAssets.
-
Can I Auto create many collection with pic name?
case:
pic:
a_1.jpg a_2.jpg .....
b_1.jpg b_2.jpg .....
create collection:
a_collection
b_collection
May be tk2d next update?
-
There is something planned for tk2d 2.4
https://trello.com/c/2D1OPlnP/26-importing-animations-and-sprite-collections-from-xml-text-file-from-an-editor-script
-
excellent!!! :-* :-* :-* :-*