Welcome,
Guest
. Please
login
or
register
.
September 19, 2024, 03:09:20 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Panel depth vs widget depth vs camera depth
« previous
next »
Print
Pages: [
1
]
Author
Topic: Panel depth vs widget depth vs camera depth (Read 2805 times)
Tatanan
Jr. Member
Thank You
-Given: 11
-Receive: 0
Posts: 81
Panel depth vs widget depth vs camera depth
«
on:
February 17, 2015, 05:56:51 AM »
Hello.
Which depth is more important: Panel depth, widget depth or camera depth?
Example: 2 sprites. Sprite 1 with panel depth 0 and widget depth 10 and sprite 2 with panel depth 1 and widget depth 0. Which one is shown if both are on the same position?
Thank you.
Logged
Game developer on
Casual Arena
.
Nicki
Global Moderator
Hero Member
Thank You
-Given: 33
-Receive: 141
Posts: 1,768
Re: Panel depth vs widget depth vs camera depth
«
Reply #1 on:
February 17, 2015, 07:05:03 PM »
Camera Depth (layer) > Panel Depth > Widget Depth
Sprite 2 would be on top.
Logged
Tatanan
Jr. Member
Thank You
-Given: 11
-Receive: 0
Posts: 81
Re: Panel depth vs widget depth vs camera depth
«
Reply #2 on:
August 31, 2015, 03:40:28 AM »
And the layer?
Is it taken into account when sorting depth?
I mean, there's a value called Layer (Water, UI...) that you can change.
Is it relevant to the depth things are shown?
Logged
Game developer on
Casual Arena
.
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Panel depth vs widget depth vs camera depth
«
Reply #3 on:
September 06, 2015, 04:52:52 PM »
No, it's not relevant.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Panel depth vs widget depth vs camera depth