Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: pad406 on February 03, 2014, 07:15:00 AM
-
Hi all, I'm new to NGUI so apologies if these seems really simple. I have created a sprite and attached UIPopUp to it. Everything works fine when I click on it, ie the Menu pops up and disappears, I can scroll through it, etc. But, no matter what I do It's showing behind other sprites, controls, etc. The only depth setting that I have is on the sprite itself which is set ok. Any ideas on what I'm missing
thanks
Paul
-
Do you use different panels? Each panel results in a new set of draw calls, and panel depth supersedes widget depth.
-
Aren, yes I do have a panel, so that's most likely the issue. I have since changed the scene so that the panel is de-activated when the pop-up is clicked, which I prefer anyway. I will bear the panels in mind the next time
thanks