Quantcast
Channel: Answers for "Sprite layer order determined by Y value"
Browsing index pages (5 articles)
↧

Answer by Muskar

An old question, but now the answer is either to pivot all your sprites to the bottom and then do the global **Edit ** -> **Project Settings** -> **Graphics** -> Transparency Sort Mode: Custom...

View Article


Answer by CarterG81

Since this was one of the major results when googling a similar problem, I figure I'd link to my solution based on this answer....

View Article


Answer by axi0n

I ended up placing a function the following code in my update method: GetComponent().sortingOrder = Mathf.RoundToInt(transform.position.y * 100f) * -1;

View Article

Answer by CarterG81

Since this was one of the major results when googling a similar problem, I figure I'd link to my solution based on this answer....

View Article

Answer by axi0n

I ended up placing a function the following code in my update method: GetComponent().sortingOrder = Mathf.RoundToInt(transform.position.y * 100f) * -1;

View Article

Browsing index pages (5 articles)


Latest Images