Struct Tile | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct Tile

    A component describing properties of a tile used by tilemaps.

    Namespace: Unity.Tiny.Tilemap2D
    Syntax
    public struct Tile : IComponentData

    Fields

    colliderType

    Collider type, as defined in the TileColliderType enum. Options are: None, Sprite, Grid. Defaults to None.

    Declaration
    public TileColliderType colliderType
    Field Value
    Type Description
    TileColliderType

    color

    The Color used to tint the material.

    Declaration
    public Color color
    Field Value
    Type Description
    Color

    sprite

    The Sprite entity to draw.

    Declaration
    public Entity sprite
    Field Value
    Type Description
    Entity
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023