So I myself like using regular GUI.Window/GUI.Button for normal basic functions that are especially specific. But when I port over any scripts or even write any new scripts in any language in 3.5 GUI.Button doesn’t work. It returns with this error.
Assets/Scripts/GUI.js(38,15): BCE0019:
‘Button’ is not a member of ‘GUI’.
Do I have to use GUILayout from now on? I would really not like to because I am used to defining the size of each component and its vital to my menu’s.
One other thing- the reason this has suddenly become a problem in 3.5 is that 3.5's JS compiler is somewhat stricter. If you had been using C#, you'd have gotten multiple warnings explaining the problem to you in fairly good detail.
– syclamothThanks! Really helpful!
– anon29944199