Hey, I am new to NGUI / Texture atlas .
I've created a texture atlas using the tutorial vids, but I don't know how to access a particular sprite from the Atlas using script. Can someone help me with this?
Example : I have an atlas named _Xatlas with 10 sprites in it. If I want to draw the sprite named "RED" if i press A, how do i do it using script?
Thanks