Hello Guest

Author Topic: Using z value or layer for render ordering?  (Read 3051 times)

Serge

  • Newbie
  • *
  • Posts: 12
    • View Profile
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?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
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.