Hey there! Long time no see! So my question is rather simple: any way to get the name of animations at runtime? My researches led me to this sad answer:
http://answers.unity3d.com/questions/192441/get-the-name-of-an-instances-prefab-at-runtime.html But maybe you have the name stored in a dark corner of your script?
I need this so I could easily include animated sprites to my memory manager...
Also I was wondering if you could think about this feature of memory management: nothing to manage, but only the part where , with a function call, you can make a sprite lose all links to it's texture so memory can be freed.
While the texture's gone, all scripts seems to run normally, but nothing that touches texture manipulation runs, so you could change spriteId and Play/Stop SpriteAnimations still works, but with no texture.
Then with a call, you put back the texture and it is updated accordingly.
As always, thanks