- Home /
Answer by GMihai · Aug 12, 2018 at 12:03 PM
I use this. Create a Tile and a Tilemap with a grid then use Tilemap -> SetTile : xpos, ypos, zpos are Grid positions
public Tile tile;
Tilemap tilemap = GetComponent<Tilemap>();
tilemap.SetTile(new Vector3Int(xpos, ypos, zpos), tile);
This only workes for me setting 1 tile at a time if I want to use multiple tiles I get some Tilemap Renderer sort issues
Your answer
Follow this Question
Related Questions
My 2D tiles have holes in them 0 Answers
How to activate an object after another is deactivated 1 Answer
tile palette offset tiles stacking not lining up 0 Answers
Object Squeezing Between Tiles 0 Answers
2D/Orthographic Tile Alignment Issue 0 Answers