Hi, im trying to add a texture to a gui button.
I’m using the following code:
public Texture2D image;
void OnGUI() {
if( GUI.Button(new Rect(5, 70, 70, 70), image) ) {
do stuff();
}
But the grey button is still visible, how do I hide it and only have the texture?
[24367-screen+shot+2014-03-27+at+15.14.13.png|24367]
Thanks!