for some reason lately I have been trying to use the GUI stuff that is available in the unity script references and they don’t seem to be working. I have worked with them in the past and all of a sudden I can’t use them any more. I tried copying and pasting the code directly from the reference and am getting an error that “GUI does not contain a definition for Box” when I use:
void OnGUI() {
GUI.Box(new Rect(0, 0, Screen.width, Screen.height), "This is a title");
}
has any one else had this problem?