So I have a randomly generated map (all works fine)
The quick example below shows two ground levels, 0 and -1, separated by a yellow wall, just like in, for example, nuclear throne game (I hope the 5 years old drawing is clear)
This is ONE tilemap generated, so all the tiles are at the same level, the red object is the player who, obviously, dont want to be inside the wall (black arrow signal in the picture)
How can I fix that? Do I need to build another tilemap for the walls and send it to the bottom of the layer (z order) while the rest of the terrain is on top (so the player cant be seen through it)?