why isnt this working?

var icon1 : Texture2D;
var icon2 : Texture2D;
var icon3 : Texture2D;
var icon4 : Texture2D;

var GUIS : GUIStyle;

function OnGUI () {
	if (GUI.Button (Rect (786,10,818,42), icon2, GUIS)) {
		print ("MENU");
	}
	if (GUI.Button (Rect (824,45,856,90), icon1, GUIS)) {
		print ("HINT");
	}
	if (GUI.Button (Rect (16,600,48,632), icon3, GUIS)) {
		print ("BCK");
	}
	if (GUI.Button (Rect (824,600,856,632), icon4, GUIS)) {
		print ("FWD");
	}
}

Im using this in a script attached to an empty GO… all looks ok, but when i try to press the buttons i can just press the menu once, it displays “MENU”, then hint, it displays “HINT”… but then when i want to press menu button again the text doesnt change back to MENU but it stays HINT… like it can no longer be pressed?

GUI functions may results a headache sometimes… does your problem happens even if you press HINT first and then MENU ?

what is your menu for?, a main menu, rpg menu, or a serious menu style?.. i mean, you can give a try with guiTextures, you have more control with them…

Turn off collapse in the console.

–Eric

Eric, I don’t know if I’ve ever seen you make more than a one line post excluding links lol.