Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Peacewise on September 29, 2014, 07:03:40 PM
-
Hello,
I have modal dialogs that are set to very high depth, and are supposed to sort in front of all other NGUI elements. However, they sort behind any ScrollViews that happen to be open, even though those have lower depth values.
Is this expected, and if so, what is the preferred method to fix something like this?
Thanks!
-
Panel depth is more important than widget depth, just like camera depth is more important than panel depth.
Camera depth > Panel Depth > Widget depth.
If you want to have something on top of your scroll view, you need an additional (3rd) panel:
Panel 1 (background)
Panel 2 (scroll view)
Panel 3 (on top of scroll view)