Author Topic: Changes in z to same level objects hides others, even though not overlapping.  (Read 2074 times)

Befall

  • Guest
This problem is hard to explain in a title, so I apologize. Here's a simple layout of what I have:

UIPanel
   UISlicedSprite
   UIInput
   UIScrollBar
   UIPanel + UIDraggablePanel
      UITable
         # of identical list objects

The problem starts with the fact that the objects are clickable outside the culled area (which really shouldn't happen), and so I checked out this thread (http://www.tasharen.com/forum/index.php?topic=834.0) to find out I need colliders blocking it. However, below the vertical scrollbar I have an input box for filtering the list, and I need to click it, and can't, since the buttons take precedence.

However, if I try to decrease the z-axis of either the UIInput or UIScrollBar, ALL items in the list are hidden behind the background (UISlicedSprite). Note that every object is set to z = 0 to begin with.

So, why does that happen? How the hell can I have the input box in front of the culled list items without making them magically disappear?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
You don't need those colliders with NGUI 2.2.6.

You only need to adjust Z if you're using more than one atlas or nest panels in your UI. Search the forum for "sandwich".