Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Shifty Geezer on January 22, 2014, 04:38:04 PM

Title: Set priority of overlapping controls
Post by: Shifty Geezer on January 22, 2014, 04:38:04 PM
Given no other way to determine when a collection of controls hasn't been pressed other then to intercept all presses elsewhere, I've had the cunning plan of putting my pop-up selector on a screen-filling widget so everything not in the scroll graphic counts as a press outside of the selector and I can retract. However, other controls gain precedent over the on-top (as determined by level) collider.

What's the way to raise the priority of widget's so their controls overlap all others?
Title: Re: Set priority of overlapping controls
Post by: ArenMook on January 23, 2014, 06:19:38 AM
It's all based on depth, but panel depth takes precedence over widget depth.
Title: Re: Set priority of overlapping controls
Post by: Shifty Geezer on January 23, 2014, 09:09:20 AM
Okay, I've got the scrollview in a panel which'll be what's messing me about.