So I want to draw tilemap 2d’s sprite by script while game play. (for example, as per player’s movement on initial finite tilemap)
So for this, need to tilemap’s boundary increase and set tile to newly increased position?
How?
So before game play, I drew manually tilemap sprite just cover the full screen,
Tilemap’s debug.log initial size says (28, 17, 1), origin says (-15, -8, 0)
Do can you try to set the tiles before calling ResizeBounds()? Did you debug the code to see what happens to the tilemap and size and the content after each step?
I just tried it, the Tilemap is growing automatically when you add tiles. See the screenshot, I just log the size, then I add some tiles and log the size again. You can see the green tiles get added just fine.