Hey there, so I’m trying to change the GUI texture every time the user clicks on it.
At the moment I have this script:
var normalTex : Texture2D;
var secTex: Texture2D;
var tritex: Texture2D;
function OnMouseDown (){
guiTexture.texture = secTex;
guiTexture.texture = tritex;
}
I know I’m missing something but I don’t know what !
Can some one help me please ?