Author Topic: NGUI depth issue  (Read 5954 times)

Astrydax

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
NGUI depth issue
« on: July 03, 2016, 08:22:14 PM »
I have a popup window that i would like to appear on top of everything else in the scene. However, gameobjects within a scroll view grid are appearing on top of it. I'm not sure how to go about fixing this issue. Please view the following gif to understand the issue.

please view the gif of the issue below.
http://giphy.com/gifs/l41Ypx7Jr9p6MjHAQ

even when setting a depth of 100 for the popup window, the cards card tiles still appear above the window.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI depth issue
« Reply #1 on: July 05, 2016, 07:33:23 PM »
Camera depth > panel depth > widget depth

That's the order. So in short, if you want a popup window to be on top, put a panel on it and give it a higher depth than the panel on your scroll view.