GUI GameObject Button?

Hi there,

I’m using a similar code to iTweens example “Animating 2D (GUI Textures)” seen here iTween for Unity by Bob Berkebile (pixelplacement). I’m just wondering how I would make the animated GUI textures into buttons that change colour when hovered over.

Your help will be much appreciated!

With a script on that GUITexture, you have acces to the OnMouseEnter and co functions. TO change the colo, iTween have a ColorTo type of function.