Tilemap writing over only some sprites
Unity beginner (mostly). I am making a very simple sandbox demo with 3 sprites (2 characters, 1 potion), and am drawing the ground with a tilemap object. The player object is properly displayed on top of the ground tiles, however, the two other objects are not. I compared their layers, made them match, added the same components etc, and can't figure out what the difference is that's causing this to happen. Does anyone have any ideas?
Answer by w00tix · Mar 20, 2019 at 01:03 AM
Figured it out, for anyone with the same problem it was a matter of setting up sorting layers on the tilemap object in the inspector. I went on a sideways path because one of the sprites was on top and not the others, and still don't know why that's the case, but making sorting layers worked.
Your answer
Follow this Question
Related Questions
TileMap in custom layer doesn't render 1 Answer
I want to 2d sprite sort layers but force some of them to render in front of another layer? 0 Answers
Tile Palette not showing new Tiles 0 Answers
Can't get layers to work properly in 2D,,Layers in Top Down RPG 0 Answers
Customizable sprite character using multiple layers? 0 Answers