docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Automating tile layouts

    To change the sprite a tile uses based on its neighboring tiles, create a rule tile or an auto tile.

    Topic Description
    Rule tiles and auto tiles Learn about the differences between a rule tile and an auto tile.
    Create a rule tile Change which tile Unity paints based on its surrounding tiles.
    Create a custom rule tile script Create a custom rule tile that changes what happens when a tile checks its neighbors.
    Create an auto tile Use an auto tile to paint 2D tile environments without setting up Rule Tiles.
    Rule Tile asset Inspector window reference Explore the properties and settings you use to change which tile Unity paints based on its surrounding tiles.
    Rule Override Tile asset Inspector window reference Explore the properties and settings you can use to Create a variant of a rule tile.
    Advanced Rule Override Tile Inspector window reference Explore the properties and settings you can use to Create a variant of a rule tile that overrides both sprites and rules.
    Auto Tile asset Inspector window reference Explore the properties and settings you use to paint an environment using a spritesheet of floor layouts.

    Additional resources

    • Create an animated tile
    In This Article
    Back to top
    Copyright © 2026 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)