Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: laurentl on September 27, 2013, 07:19:28 PM
-
UIPanel is added automatically
see it in glorious 2D https://www.youtube.com/watch?v=g-hSx1o54is
-
How is that a bug? In order to draw something, there must be a panel present. If there isn't one, NGUI adds one for you.
If you don't want this, and still save it as a prefab, instantiate this prefab as a child of a panel -- preferably within your UI hierarchy.
-
I see how it's changed in 2.7, it's ok to have this requirement but it shouldn't add a panel because instead of preventing mistakes it introduces mistakes or enforces a workflow like the one you outline.
-
If I didn't, then I'd be getting posts such as "why is nothing showing!?!?!" from people who don't realize that panels are needed.
Lesser evil.