docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Entity Id Tile

    The Entity Id Tile is a Tile that uses Entity Ids to reference managed objects. It has the same properties as a Tile and caches the Entity Ids of these properties on the "OnEnable" call. By not referencing managed objects and using simple blittable data types, the Tilemap is able to utilize Unity Jobs and Burst to calculate and retrieve data from the Entity Id Tile, improving performance when you set these Tiles onto the Tilemap.

    Asset properties

    Property Function
    Preview Displays a visual preview of the selected Tile.
    Sprite Select the Sprite to be rendered on this Tile. Click the circle icon to the right to open the object picker window to select from the available Sprite Assets, or drag a Sprite directly onto this box.
    Color Tints the Sprite placed on this Tile with the selected Color. When set to white, the Sprite is rendered without a tint.
    Collider Type Defines the shape of the Collider generated for the Tile.
        None No Collider is generated.
        Sprite The Collider shape is generated based on the selected Sprite's outline.
        Grid The Collider shape is based on a cell of the Tilemap. The shape of a cell depends on the Cell Layout of the Tilemap.
    GameObject to Instantiate Instantiates a copy of this GameObject at the Tile's position when the Tile is placed on the Tilemap.
    Flags Flags controlling the Tile's behaviour.
        None No TileFlags are set.
        LockColor Tile locks any color set by brushes or the user.
        LockTransform Tile locks any transform matrix set by brushes or the user.
        InstantiateGameObjectRuntimeOnly Tile does not instantiate its associated GameObject in editor mode and instantiates it only during Play mode.
        KeepGameObjectRuntimeOnly Keeps the Tile's instantiated GameObject in Play mode when replaced with another Tile or erased.
        LockAll All lock flags (LockColor and LockTransform).
    Offset Positional Offset of the Tile from its cell when placed on a Tilemap. Disabled if LockTransform flag is not set.
    Rotation Rotation of the Tile when placed on a Tilemap. Disabled if LockTransform flag is not set.
    Scale Scale of the Tile when placed on a Tilemap. Disabled if LockTransform flag is not set.
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)