Hi!
I wanna know if is possible to have a GUI button that you can click on, but you can’t see it at all.
I tried to use a texture that is transparent, but I can see the border of the button.
Is there any other way?
Thanks!!
Hi!
I wanna know if is possible to have a GUI button that you can click on, but you can’t see it at all.
I tried to use a texture that is transparent, but I can see the border of the button.
Is there any other way?
Thanks!!
Yes it is possible. Do not change anything of the Design.
Example:
var Design : GUIStyle;
function OnGUI () {
if(GUI.Button(Rect(10,10,100,30),"", Design)){
//Your code...
}
}