I wanted to be able to change a tile in the tile map during run time and it seems to be working but the visual representation is not changing. Here's the code I am using.
tk2dTileMap temp;
temp = gameObject.GetComponent<tk2dTileMap>();
temp.SetTile(1,1,0,16);
It's changing the tile because I have this line of code:
GUI.Label(new Rect(10, 90, 200, 20), "tile id = " + tileMapFinder.GetTileIdAtPosition(v3Position,0));
And it tells me that the value of the tile id did change, but the sprite didn't.
Do I need to somehow update the TileMap's render data or am I trying to change the Tilemap's sprite incorrectly?