2D Tilemap Extras sample projects
Learn the structure of a project that uses the 2D Tilemap Extras package.
Prerequisites
To use the sample projects, install the 2D Tilemap Extras package in your project.
Initial setup
- From the main menu, select Window > Package Manager to open the Package Manager window.
- Select All Packages then Graphics Test Framework.
- Select the Samples tab.
- Select Import next to a sample.
Unity installs samples in the Assets/Samples/2D Tilemap Extras/<version>/ folder in the Project window.
Waterfall Animated Tile
Go to the Tiles subfolder and drag the Waterfall tile to a tile palette, then paint with it. Enter Play mode to display the animation. For more information, refer to Create an animated tile.
Pipe Rule Tile
Go to the Tiles subfolder and drag the Pipes tile to a tile palette, then paint with it. The Pipes tile is a rule tile that paints different tiles depending on the surrounding tiles in eight directions. For more information, refer to Create a rule tile.
Dungeon Rule Tile
Go to the Tiles subfolder and drag the Dungeon tile to a tile palette, then paint with it. The Dungeon tile is a rule tile that paints different tiles depending on the surrounding tiles in four directions. For more information, refer to Create a rule tile.
Auto Tile (3×3)
Go to the Tiles subfolder and drag one of the AutoTile tiles to a tile palette, then paint with it. The tiles are auto tiles that paint different sprites depending on the layout of the surrounding tiles. For more information, refer to Create an auto tile.