- Home /
Dynamically add tiles from strings using C#
Hello,
I've placed a grid with 2 tilemaps, one is Ground, and the other is Objects. I'm trying to retrieve data from my server and populate the Objects tilemap. However, I don't see a way to dynamically load tiles by name or ID.
I know there's a tilemap.SetTile(Vector3Int position, Tile tile)
function, but where do I actually get the tile object from?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612165048im_/https://answers.unity.com/themes/thub/images/avi.jpg)