hello, i want to make a menu for my game, or something like that, but, i don’t know why, anything i do in OnGui function doesn’t work. I made an example project, and i attached this script to the camera:
#pragma strict
function OnGui (){
GUI.Box (Rect(10,10,100,100), "box");
}
but nothing happens… I think (mostly sure) that i’m doing something wrong, but i don’t know what! So, if you could help me, that would be great
thanks a lot!!!
OMG, i wouldn't realized that! thank you very much! (ps. it worked)
– shlomito36