nGUI vs. uGUI vs. the Unity UI

I recently stumbled upon this problem while doing some mobile development tutorials by Mike Geig. He’s using the OnGUI method for UI. Then I did a bit of googling and it appears that the Unity UI has been changing quite a bit since then and I’m a bit overwhelmed by the amount of the threads on the internet and different opinions. Could someone please explain which UI method is most up-to-date and is best to use? Thank you. Matt

@xoxoroxo

Hi Matt,

Unity new UI is the current UI you should use for games you publish, first check out official tutorial videos and/or read manual:

I wouldn’t look elsewhere. You may come across all kinds of shortcomings of UI system while reading forum posts and such, but I’d first test it, before drawing any conclusions about what it can or can’t do. Despite of Unity UI shortcomings it’s the only up to date UI system for in-game stuff in Unity - IMHO.

OnGUI was the UI system before Unity 4.x. Now it’s only recommended for Editor scripting (well Editor scripting related UI can be only done with OnGUI immediate mode GUI).

NGUI was there way before Unity UI and is still going on, despite Unity has it’s new UI system. You’d have to pay for NGUI, so that’s one thing to consider. Other than that, can’t recommend it as I only have limited experience using NGUI in production.

Thanks eses! This helps a lot!