dino-ge
    Preparing search index...

    Component that holds data for rendering a tilemap.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    data: number[][]

    2D array of tile indices.

    gameObject?: default

    Reference to the GameObject this component is attached to.

    tileset: HTMLImageElement

    The source image for the tileset.

    tilesetCols: number

    Number of columns in the tileset image.

    tileSize: number

    Tile size in pixels.

    Methods