Component that holds data for rendering a tilemap.
2D array of tile indices.
Optional
Reference to the GameObject this component is attached to.
The source image for the tileset.
Number of columns in the tileset image.
Tile size in pixels.
Draws the tilemap to the canvas.
The canvas 2D rendering context.
Lifecycle hook called when the component is added to a GameObject.
Component that holds data for rendering a tilemap.