Im making a Game and now i am making GUI but i cant do GUI Buttons, everytime i make a button and say when i press it, it should do something, but it isnt so when i make it the button and enter into the playmode it works inmediatly and i dont have to press the button it is like pressing it all the time, why???
my code;
if(GUI.Button(Rect(20,20,20,20), " "));
{
SOMETHING
}
sorry for my bad english
thanks in advance skullbeats1