docs.unity3d.com
    Show / Hide Table of Contents

    Terrain Tile

    Terrain Tiles take into consideration their orthogonal and diagonal neighbors and displays a Sprite depending on whether the neighboring Tile is the same Tile as itself. This is a similar behavior to Pipeline Tiles.

    Properties

    Terrain Tile editor

    The following properties describe the appearance of Sprites representing terrain or walls. Assign a Sprite that matches the description to each of these properties.

    Property Function
    Filled A Sprite with all sides filled.
    Three Sides A Sprite with three sides.
    Two Sides and One Corner A Sprite with two sides and one corner without adjacent sides.
    Two Adjacent Sides A Sprite with two adjacent sides.
    Two Opposite Sides A Sprite with two opposite sides across each other.
    One Side and Two Corners A Sprite with a single side and two corners without adjacent sides.
    One Side and One Lower Corner A Sprite with one side and a corner in the lower half of the Sprite.
    One Side and One Upper Corner A Sprite with one side and a corner in the upper half of the Sprite.
    One Side A Sprite with a single side.
    Four Corners A Sprite with four unconnected corners without adjacent sides.
    Three Corners A Sprite with three corners without adjacent sides.
    Two Adjacent Corners A Sprite with two adjacent corners.
    Two Opposite Corners A Sprite with two opposite corners across each other.
    One Corner A Sprite with a single corner with no adjacent sides.
    Empty A Sprite without any terrain.

    Usage

    Set up a Terrain Tile by select Sprites which fit the characteristics stated on the left of the Terrain Tile editor. As you paint with the Terrain Tile using the Tile Palette tools, the Tile Sprite automatically adjusts to the appropriate one relative to its position with neighboring Tiles.

    Scene View with Terrain Tile

    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