- Home /
Is unity gui good to use
Hi, I'm currently starting to work on UI for my game and I'm wondering is unity GUI good enough to use or should i use something like NGUI? Also how is the performance from unity GUI on mobile devices?
Thanks in advance.
Answer by ThePokedog1 · Aug 24, 2015 at 01:11 PM
Haven't tried NGUI but I do a combination of both GUI and Unity UI. Unity UI is very easy to use and is best for people who don't care to have things inside the hierarchy. Doing GUI is best for people who like to do it all in code and keep the hierarchy limited. I would always use GUI but I'm not 100% perfect at it yet so I only do that if I have to for like slots on an inventory or something. GUI takes multiple compiles to get it right and UI you can set up all by tastes on the screen. So really its all preference. For NGUI I'd say try out Unity UI and GUI and see what you like first so that you don't drop money down for an asset.
Almost leftout for mobile its all about the size of your buttons and what not, don't think it has too much to do with how you set it up.
In my experience it's good to avoid using the OnGUI method for creating UI elements as much as possible, since it can heavily impact the performance of your game.
Answer by nightbane30 · Aug 24, 2015 at 12:26 AM
I've never used NGUI before, but I've had nothing but good results from UGUI! It's not too hard to get a decent looking UI running with it either, so I'd definitely recommend you try it out! I've also heard that UGUI is better than NGUI performance-wise on mobile devices (when testing with Android platforms).
I might add that people tend to say that NGUI is more flexible than UGUI, at least from what I've heard.
Your answer
Follow this Question
Related Questions
GUI alternatives ? 1 Answer
Use Unity UI For 2D Games Or Custom Objects Instead? 2 Answers
In-game text editor, native or NGUI 2 Answers
How to see NGUI in SceneView 1 Answer