1
NGUI 3 Support / When to use Panels or widgets - understanding base design ideas
« on: August 10, 2014, 05:42:06 PM »
Hi All
With the recent demise of DFGUI, I have thrown my hat into the NGUI ring and am finding the process pretty painless (and indeed, NGUI seems to have a lot more powerful features that I struggled with in DFGUI).
One thing I'm not sure about, is when it is appropriate to use a Panel, and when I should just be using a Widget.
In DFGUI, they only have panels, however they do not split draw calls so I guess in a sense they function more like an NGUI Widget - just an empty container that is used for UI organisation and grouping.
My UI is composed of a number of discrete parts - a nested dropdown menu at the top, thumbstick controls at the bottom corners, and an inventory style section at the middle bottom. I initially set it up to have each of these different elements nested under a separate Panel, but I'm not sure if that's the best solution.
Is there some sort of design guideline documentation that anyone has come across that tries to explain how to best create a UI that fits n with NGUI's design philosophies? It's quite a bit more complicated than DFGUI so I don't want to go down the wrong path right from the start due to a simple misunderstanding of how NGUI works.
Thanks!
With the recent demise of DFGUI, I have thrown my hat into the NGUI ring and am finding the process pretty painless (and indeed, NGUI seems to have a lot more powerful features that I struggled with in DFGUI).
One thing I'm not sure about, is when it is appropriate to use a Panel, and when I should just be using a Widget.
In DFGUI, they only have panels, however they do not split draw calls so I guess in a sense they function more like an NGUI Widget - just an empty container that is used for UI organisation and grouping.
My UI is composed of a number of discrete parts - a nested dropdown menu at the top, thumbstick controls at the bottom corners, and an inventory style section at the middle bottom. I initially set it up to have each of these different elements nested under a separate Panel, but I'm not sure if that's the best solution.
Is there some sort of design guideline documentation that anyone has come across that tries to explain how to best create a UI that fits n with NGUI's design philosophies? It's quite a bit more complicated than DFGUI so I don't want to go down the wrong path right from the start due to a simple misunderstanding of how NGUI works.
Thanks!
