- Home /
Disco like GUITexture?
Hi All Unities,
May I have an example of a code snippet ( In javascript )for GUITexture?
How to animate the colors for inserted GUItexture, As I want it to look like disco light?
Thanks,
Answer by s4vi0r · Jan 03, 2011 at 05:02 PM
How bout I point you in the direction to a complete tutorial for animating textures! =D
http://www.unifycommunity.com/wiki/index.php?title=Animating_Tiled_texture_-_Extended
This is a nice one but if I want to have more of these example could any one please show me more? tho That's nice if I could have more example maybe I could do more.
Thank you very much.
I actually made it's color changing while playing but do you know how to make it display default color and the specific one?
You could set bools to make it animate or not animate. to play a specific color, stop the animation and display the certain coordinates of the texture that correspond to the color you want.