I now there are many new questions about how to work with GUI, while there are plenty of answears out there covering many of thoose already. But i dont find any answear on how to hide the grey GUI rectangle itself. I havent really found that kind of answear im looking for. It also seems that some people claims that this not even would be possible to do.
I have uploaded a picture of my GUI button, a grey standard rectangle with a image (of a green button) applied. So what i would like to do is just to hide the grey button, so the only thing you see is the green button image.
This is the javascript iam using, where Texture is the image iam using:
function OnGUI ()
{
GUI.Button(Rect(position.x, position.y, size.x,size.y),texture);
}