EZGUI packedsprites as a prefab?

Can sprite based animations created with the packedsprite script in EZGUI/SM be used as prefabs? The idea is to place them around the scene in a script controlled manner. Will the performance gain(optimum draw calls) attained by generating a texture atlas on iOS devices be retained if packedSprites are used as described?

Hi,

Yes, you can do prefabs with EZGUI and SM2. Your Texture atlas will be retained as well. You'll need to experiment with making a prefab out of the Sprite manager as well, else you'll need to reconnect the prefabs you drag in the scene to the sprite manager of your choice ( a pain ).

Bye,

Jean

You not only can, but SHOULD. The SM2 authors highly recommend that most of your animations be prefabs. Otherwise when you edit properties, things can get out of sync between your animations and references to your shared atlas/textures.