This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Hello everyone!
I'm working on a 2D side-scroller game. I'd like it so that I could have all the sprites sort their "Order In Layer" themselves by their Z coordinate so that assets with a lower Z coordinate have a higher Order in Layer number. I have a script that I can attach to assets so they do so on Play but I'd prefer a script that runs in the editor and I've never done a script like that before.
The setting that let's you do this in project settings>graphics is unavailable because we're using the experimental 2D lighting system in Unity and the URP we're using doesn't allow that configuration.
Subreddit
Post Details
- Posted
- 3 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/unity/comme...