1
NGUI 3 Support / Using UIWidget as container object?
« on: September 23, 2015, 10:28:56 AM »
Hi,
I'm currently coming on board to an NGUI 3 project that was built in a way that I'm unfamiliar with. Its been a while since I've used NGUI as well. I was curious if its considered normal practice to 'nest' components now. In NGUI 2 putting widgets in widgets was a bad thing to do.
Additionally the developers are using the UIWidget class (aka not a subclass of UIWidget) on its own in the hierarchy to contain other objects. Is this a normal thing to do? Back when I used NGUI you would use Panels to contain other objects. Is UIWidget the new Panel?
I'm currently coming on board to an NGUI 3 project that was built in a way that I'm unfamiliar with. Its been a while since I've used NGUI as well. I was curious if its considered normal practice to 'nest' components now. In NGUI 2 putting widgets in widgets was a bad thing to do.
Additionally the developers are using the UIWidget class (aka not a subclass of UIWidget) on its own in the hierarchy to contain other objects. Is this a normal thing to do? Back when I used NGUI you would use Panels to contain other objects. Is UIWidget the new Panel?
