I have a code of:
GUI.Box(Rect(0,0,160,45),Questarraytemp[choosenumber]);
It is working flawlessly for a month till Unity 3.4
After I installed 3.4, I have this coding warning in editor:
BCE0004: Ambiguous reference ‘Box’: UnityEngine.GUI.Box(UnityEngine.Rect, UnityEngine.GUIContent), UnityEngine.GUI.Box(UnityEngine.Rect, UnityEngine.Texture), UnityEngine.GUI.Box(UnityEngine.Rect, String).
If I change it to:
GUI.Box(Rect(0,0,160,45),“test”);
Then it works.
I think it is a bug about GUI.Box with Arrays.
This is an urgent problem that would be update of an app in some days. Please help!