Search Unity

  1. Get the latest news, tutorials and offers directly to your inbox with our newsletters. Sign up now.
    Dismiss Notice

Tech Demo Terrain Tile Script

Discussion in '2D Experimental Preview' started by Soulice, Sep 6, 2017.

  1. Soulice

    Soulice

    Joined:
    Aug 18, 2014
    Posts:
    59
    I am looking at the tech demo (since I cant find a tut and everyone seems to be able to already make tilemaps) and was looking at the TerrainTile (working on a top down game) and noticed there is a script called TerrainTile but none of the objects in the scene have the script associated with them. Is this script generated from the sprite atlas or something? Also, anyone know of a beginners tutorial to get started with the tile map from scratch?
     
  2. robocup30

    robocup30

    Joined:
    May 2, 2017
    Posts:
    7
    TerrainTile script is used by Pebbles and PBricks tile assets (the purple tiles). The script isn't showing up on inspector as being associated with these 2 tile assets because OnInspectorGUI was overridden in the TerrainTile script.

    As for tutorial, I found this reference guide pretty helpful. Just be aware that it's slightly outdated now and some information are not 100% correct.
     
  3. Soulice

    Soulice

    Joined:
    Aug 18, 2014
    Posts:
    59
    thanks!
     
unityunity