Hello
Guest
Home
Help
Search
Login
Register
2D Toolkit Forum
»
2D Toolkit
»
Support
»
Using z value or layer for render ordering?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Using z value or layer for render ordering? (Read 3904 times)
Serge
Newbie
Posts: 12
Using z value or layer for render ordering?
«
on:
November 06, 2015, 12:49:18 pm »
Hey,
when managing the rendering order (what is drawn in front, what is in the back) - should you rather use the z coordinate of the gameObject or the "layer" field of the sprites? Is one of both more efficient?
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
Re: Using z value or layer for render ordering?
«
Reply #1 on:
November 14, 2015, 10:06:23 pm »
No they are no different efficiency wise, use whichever you prefer.
Logged
Print
Pages: [
1
]
« previous
next »
2D Toolkit Forum
»
2D Toolkit
»
Support
»
Using z value or layer for render ordering?