2D Toolkit Forum

2D Toolkit => Support => Topic started by: Serge on November 06, 2015, 12:49:18 pm

Title: Using z value or layer for render ordering?
Post by: Serge 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?
Title: Re: Using z value or layer for render ordering?
Post by: unikronsoftware on November 14, 2015, 10:06:23 pm
No they are no different efficiency wise, use whichever you prefer.