Should I be using UnityGUI?

I’m currently using UnityGUI to do all the GUI elements in my iPhone game. I keep coming across comments though about how inefficient UnityGUI is and it’s starting to worry me. Most recently, I was just reading some of the negative comments about UnityGUI in the iPhone specific UT official documentation.

I guess my question is, “How bad is bad?”. Is it a show-stopper on iPhone (i.e. I should be using 100% EZ GUI or something), or is it a relatively imperceptible performance hit?

I keep thinking that UT wouldn’t have included the system if it was that “bad”, surely it’s fine to use it?

Use the profiler, and if the CPU hit is too much, use another technique. If it’s not, then stick with OnGUI.

–Eric

Thanks Eric - I guess that’s sound advice.

I’m doing some work at the moment to disable my OnGUI’s when they’re not needed as suggested in the manual.

Will see how it turns out.