Author Topic: NGUI | Same texture depth issue  (Read 3321 times)

salman

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
NGUI | Same texture depth issue
« on: January 28, 2014, 09:52:37 AM »
Hi,

I am using same texture 3 times in same prefab at different location with different depth, but when i am playing the game, they appear with the same depth, though their depth are different.

Has anyone faced this issue? or have alternate solution for solving this issue.

I have also observed the same issue in atlas.

Thanks in advance.

-Salman

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI | Same texture depth issue
« Reply #1 on: January 28, 2014, 10:00:13 AM »
What version of NGUI? By depth do you mean different values in inspector? Why would this value change?

salman

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Re: NGUI | Same texture depth issue
« Reply #2 on: January 29, 2014, 01:41:39 AM »
Thanks ArenMook,

I am using NGUI version-2.3.3.

Yes we can see different depth value in inspector however when we played the game it make the depth same for all instances of that texture within same prefab.

-Salman

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI | Same texture depth issue
« Reply #3 on: January 29, 2014, 09:32:55 AM »
Sorry but 2.3.3 is extremely old and has not been supported for a long time. You need to update.