Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: laurentl on April 05, 2013, 02:06:34 AM
-
when I parent a sprite under another sprite, when I press play the child gets unparented.
Adding a panel to the parent doesn't work
How do I keep the parenting ?
-
Widgets should never be parents of other widgets. Your scale will fuck up and your mind will explode.
Make a comment parent instead
-ParentObject: scale 1,1,1
--widget1: scale: pixelX, pixely, 1
--widget2: scale: pixelX, pixely, 1
-
Ok, I nuked all the UI stuff from the parent and it works which may be similar to your comment parent (?).
-
Nicki's "comment" was supposed to mean "common". Common parent.
NGUI spits out a warning when it re-parents objects. If you double-click this warning, it takes you to a pretty detailed explanation, with an ASCII drawing to boot.
-
I keep wording words. Common parent. yes.
-
Widgets should never be parents of other widgets. Your scale will fuck up and your mind will explode.
Make a comment parent instead
-ParentObject: scale 1,1,1
--widget1: scale: pixelX, pixely, 1
--widget2: scale: pixelX, pixely, 1
My mind just fucking exploded!
Pop!
-
8)
My mind just fucking exploded!
Pop!