So I was curious how 2D doorways happen in top down view, because part of the doors closer to the camera have to render over the player, while the back wall of the doorway has to render behind the player. So how? can someone draw a diagram of what parts of the door to render in front and in back?
I can’t draw… But I’ll attempt to explain any misunderstandings you may have… Basically split up the sprite in to the pieces that render behind, and in front (AKA 2 different images). Once imported just assign different rendering layers via the spriteRenderer component (one layer for behind, one layer for in front). Then you will have the desired effect.