- Home /
Question by
PomodoroBello · May 07 at 03:06 PM ·
2dtransform.position
Updating all transform at once at the end of the frame
Hi, I'm trying to create a top down 2d shooter where sprites can go one behind the other, with this in mind I already added a single parent to all gameObjects in the scene that make their z position equal to their y position, so that every sprite who has an high y value is drew behind others who are lower in the y axis, like in this example: I would like to know, is there another system that doesn't require a global parent for all gameobjects?
immagine-2022-05-07-170334.png
(5.5 kB)
Comment
Best Answer
Answer by PomodoroBello · May 07 at 09:48 PM
Edit : for everyone wondering, you just have to go trought: Edit->Project settings->Graphics and set
Transparency Sorrt Mode to Custom Axis
X:0 Y:1 Z:0