In Unity3d, I got a GameObject with the UISprite component from the NGUI plugin. So I need to use an atlas with textures, to set the texture for the UISprite.
Now I want the UiSprite to be animated. The different frames are in a spritesheet within the atlas itself.
I learned that you can animate something with a spritesheet by changing the offset. My questions is, how can I set the offset for the current texture and not for the entire atlas? So far, I can only change the offset for the entire atlas.
Is there a possibility to het position of the textures from within the atlas or something and calculate the offset with that?
I don't know how to proceed on this. Any insights are appreciated.