Hi, so I’m curious about one of the things I’m doing when trying to build games. If something needs to be dominant(superimposed) over something else, I usually just move it in small increments on the z axis. I’m wondering if I shouldn’t do this because there’s a more resilient, “clean” way. I do this with things like tilemaps.
I dont have that much experience with 2D games but does it not work the same as a unity canvas?
Unity Canvas is set up to draw in hierarchical order so it draws things lower in the hierarchy on top of things higher in the hierarchy.
Hi!
What do you mean about “dominant(superimposed)” ? I’m not sure about your question but I think you should see more about Sorting Layers / Sorting Groups, and through that organize your assets/sprites.
more here: Unity - Manual: Sorting Groups
See about LayerMaks too.