Unity-Technologies / 2d-extras

Fun 2D Stuff that we'd like to share!
Other
1.54k stars 342 forks source link

Place Tile over Tile without touching z? #322

Closed superfrantv closed 2 years ago

superfrantv commented 2 years ago

Hello,

i got the problem that i want to build a house with seperate tiles, but windows are over walls, but the player and the house has the same layer, so the window is drawn over the player. i need to paint tiles over tiles without touching the z axis.

any ideas?

hope for help, its basic important for my game.

ChuanXin-Unity commented 2 years ago

That isn't possible within a single Tilemap. You will need to create another Tilemap GameObject as a layer to be able to stack Tiles.