Hello,
I have a GUI button that has a texture instead of text. Is there a way to get rid of the typical button border:

As you can see - there is a border going around the texture.
Cheers folks!
Hello,
I have a GUI button that has a texture instead of text. Is there a way to get rid of the typical button border:

As you can see - there is a border going around the texture.
Cheers folks!
Like Xedfire said, e.g.
GUILayout.Button(myTexture,"label");
would be a way.
You could use GUI.Button(new rect(10,10,100,100),myTexture,"label"). See http://unity3d.com/support/documentation/Components/gui-Layout.html for more details on positioning and layout.
– Jake-LPosting this for others, took me forever to find the answer for this. You have to add a blank string at the end, and the button background will go away.
GUI.Button(new rect(10,10,100,100),myTexture,“”)
Do you want to be able to click the whole button or just the image? Because if you want the whole button, you can change it by changing the current GUI Skin.
– anon40003109