hi,
I have a texture (256x256) which has around 200 flags in it nicely put on a grid and eah flag is 18x12 pixels.
Now I’d like to be able to display just 1 of these flags in the new GUI.
Like GUI.Label(Rect(0,0,18,12),flagtexture);
But it may only be 1 texture, so a small part of the big texture.
I want to use this technique to save space because it seems rediculous to me to have to use 200 separate textures and all their overhead when it can be done with only 1 texture containing them all?
Found an article here (http://www.unifycommunity.com/wiki/index.php?title=Animating_Tiled_texture_-_Extended) but thats working with a material and it looks like GUI stuff is not working with material.
Anyone have a suggestion on how to achieve this ?
Regards,
Bart