Hi, i have create 2d game with tilemaps (on unity 2017.3.0f3) I want when my player collide with one tiles, that tiles are delete. But my probleme is when player collide with one tiles, all my tile map are destroy not only that one tiles. (you can see what i want exactly on image) Its possible? Thank you!
Did you figure out how to do this? I'm currently running into this issue and have worked around it but I would really like to see if this is possible to do.
You can do something like this ... Code (CSharp): // set x,y to the cell coordinates and ... Vector3Int cell = new Vector3Int(x, y, 0); if (tileMap.HasTile(cell)) { tileMap.SetTile(cell, null); }