Search Unity

Question Terrain tile missing?

Discussion in '2D' started by aromana, Jan 20, 2022.

  1. aromana

    aromana

    Joined:
    Nov 11, 2018
    Posts:
    137
    At some point, 2d-extras used to have a terrain tile. It seems this has been silently removed from the module, and the docs haven't even been updated, as they still link to the documentation page for Terrain Tile which doesn't exist: https://docs.unity3d.com/Packages/com.unity.2d.tilemap.extras@3.0/manual/RuleTile.html

    A couple questions:

    1. Why was this removed?
    2. What is the recommended replacement? It's quite tedious to set the rules up manually, one by one, in a regular old RuleTile...

    @ChuanXin
     
  2. ChuanXin

    ChuanXin

    Unity Technologies

    Joined:
    Apr 7, 2015
    Posts:
    1,068
    Hi,

    We reduced the number of scriptable Tiles for the Tilemap Extras package used in the Unity Package Manager. The functionality of the Terrain Tile could be replaced with the Rule Tile, so we removed it from the package. You can still find and use the Terrain Tile by getting the source from https://github.com/Unity-Technologies/2d-extras and adding the script to your project or replacing the Tilemap Extras package from the repository.

    In the Unity Package Manager, in the Tilemap Extras package description, there is a sample template of a Rule Tile with all the Terrain Tile rules. You can install the samples, clone that template and replace the corresponding Sprites for your Terrain Tile without recreating all the Rules.

    Hope this helps!
     
    MiguelCoK likes this.