Hello,
I recently upgraded Unity Pro 1.x to 2.0. I opened a project that I created in 1.x and tried to create a new GUI for it. I created a JS file with the first example OnGUI code from the reference manual (GUI Scripting Guide section) and attached it to a game object. I keep getting a ‘Box is not a member of GUI’ error. My 1.x project already has a small GUI in it (GUILayer and GUIText). Is this conflicting with the new GUI creation method?
When I create a new project and repeat this step, the new GUI is created just fine.
I will submit this as a bug unless it is expected behavior that OnGUI cannot exist with GUILayer.
Thanks!