Version: Unity 6.0 (6000.0)
Language : English
Introduction to tilemaps
Paint tiles into the scene

Create a tile palette

Create an empty tile palette, then manually drag spritesA 2D graphic objects. If you are used to working in 3D, Sprites are essentially just standard textures but there are special techniques for combining and managing sprite textures for efficiency and convenience during development. More info
See in Glossary
into it to create tiles.

Follow these steps:

  1. Make sure the 2D Sprite package is installed in your project. For more information, refer to set up your project for 2D games.
  2. From the main menu, select Assets > Create > 2D > Tile Palette.
  3. Select a tilemapA GameObject that allows you to quickly create 2D levels using tiles and a grid overlay. More info
    See in Glossary
    type, which determines the shape of the tiles in the tile palette. The default tilemap type is Rectangular.

Unity creates the following in the Project window:

  • A tile palette asset with the name you specified.
  • A child asset that contains the settings for the palette.

You can also create a tile palette using the Tile Palette window. For more information, refer to Tile Palette window reference.

Add tiles to a tile palette

Follow these steps:

  1. From the main menu, select Window > 2D > Tile Palette to open the Tile Palette window.

    If you have multiple tile palettes, set Active Palette () to the tile palette you want to add tiles to.

  2. Drag a sprite asset () or a texture from the Project window to the Tile Palette window.

    If you drag a texture with a Sprite Mode of Multiple, Unity creates a tile for each child sprite. For more information, refer to Import a sprite or spritesheet.

  3. Unity converts the sprite to a tile asset (). In the folder dialog that appears, select a location to save the converted tile asset.

The sprite now appears as a tile in the Project window and the Tile Palette window.

Note: The tile asset isn’t connected to the source sprite or texture. If you update the source sprite or texture, the tile palette doesn’t change.

Additional resources

Introduction to tilemaps
Paint tiles into the scene