Unity3D 4 Game Engine - New GUI

We all know that Unity3D is an amazing game engine. We also know that its existing GUI system sucks. However Unity 4 promises to resolve this issue by introducing an all new GUI system. Yes! Finally we can breathe easy and gain those frame rates we struggle with on the mobile devices.


The following link gives a demonstration of this new GUI system. http://blogs.unity3d.com/2012/06/29/the-new-gui/. It is however not clear when it shall be available to the end user. It is also not clear whether they would completely eliminate the OnGUI calls or retain them for backward compatibility. Sometimes I feel Unity has been unfair in setting its priorities right. Honestly, optimizing the GUI system should have been their first priority and its sad that they had to wait so long to address this.  Anyways the good news is they have finally heard us. I wish they had acted earlier and I could have saved loads of time figuring out ways to get to a descent FPS with the existing GUI or break my head re-doing everything using an alternative tool like NGUI or EZGUI.

So in a nut shell they promise to deliver the following
  • 3D GUI system.
  • Drag and drop the buttons or items you need just like you would with a game object.
  • Sorting
  • Callbacks for events
  • And more.

It may look like they have been inspired by the 1 draw call per UI supported by NGUI or EZGUI and in fact thats what they did but not necessarily sticking to it. Your draw calls could vary depending on your hierarchy. It is however way better than using OnGUI for sure.

Watch David Hagelson give his overview on Unity 4. http://unity3d.com/?overview

Comments

Popular posts from this blog

Authoritative Server - MMO

Code dependencies