Search Results for

    Show / Hide Table of Contents

    Tilemap Output

    Note

    TesseraTilemapOutput is only available in Tessera Pro

    Unity comes with a Tilemap component that lets you store sprites and components in a regular grid.

    To enable this, select the game object with the TesseraGenerator component, and add the TesseraTilemapOutput component. Then set the Tilemap property to the tilemap component. Then instead of instantiating objects, it will find the appropriate for cell fo the tilemap, and fill that in instead.

    Note

    You must ensure that the grid spacing of the Tilemap and of the generator are aligned.

    Tessera comes with a sample called Platformer that demonstrates writing to Tilemaps.

    If you check the Use Sprites property, then Tessera will attempt to detect game objects that contain a sprite, and write the sprite directly to the tilemap. This is considerably more efficient that inserting the entire game object into the tilemap, but you lose any other components.

    In this article
    Back to top Generated by DocFX