In the built in Tile Palette tilemap editor, you can choose a GameObject brush to set custom tile GameObjects. How would I be able to set a gameObject onto a tile through a script?. There is no function for this in the tilemap class, or at least the documentation does not mention anything, so how would this work?
Details:
I have a few prefabs that I would like to use the "gameObject brush" on; I also have a tilemap ready to place the tiles.