Author Topic: problem about the depth!! Error is same  (Read 2689 times)

xiaoniaojjj

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 140
    • View Profile
problem about the depth!! Error is same
« on: September 16, 2012, 11:15:42 AM »
I have update the last version 2.2.0 , But the error is same.
====================================
I created a Input Widget by profabs. and created a Sprite widget. The problem is , the background of Input always draw on the sprite, even i set any depth value for sprite.  i try 0 for background and 1 for sprite, and 1 for background 0 for sprite..
« Last Edit: September 17, 2012, 02:46:53 AM by xiaoniaojjj »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: problem about the depth!!
« Reply #1 on: September 16, 2012, 07:06:37 PM »
Next version of NGUI comes with warning messages about this. I'll put up a new build within a few hours it should help you.

xiaoniaojjj

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 140
    • View Profile
Re: problem about the depth!! Error is same
« Reply #2 on: September 17, 2012, 07:16:01 AM »
I have update the last version 2.2.0 , But the error is same.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: problem about the depth!! Error is same
« Reply #3 on: September 17, 2012, 06:10:59 PM »
I added a warning about it that explains what the problem is. It's not something I can fix on my end -- it's something you have to fix. Depth vs Z is covered extensively in the FAQ.