Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: cometeor on May 12, 2012, 09:58:17 AM

Title: How to control depth between panels?
Post by: cometeor on May 12, 2012, 09:58:17 AM
eg. All widgets in panel 1 draw on top of panel 2.
I use the depth offset of anchor to implement this, but the relationship between anchor's depth offset and widget's depth seems too vague...
Title: Re: How to control depth between panels?
Post by: ArenMook on May 12, 2012, 04:27:54 PM
It's in the FAQ. Use Z.
Title: Re: How to control depth between panels?
Post by: alukanin on May 15, 2012, 04:19:14 AM
What if I have anchors on objects that are on my panel? (and I do) How can I adjust the panel's Z coordinate if the anchors ensure that objects they're on are aligned by Z?
Title: Re: How to control depth between panels?
Post by: ArenMook on May 15, 2012, 01:27:12 PM
By adding a child offset object.