Version: Unity 6.4 (6000.4)
Language : English
Customize how Unity creates tiles from a texture
Tile Set Importer Inspector window reference

Tile Palette window reference

Explore the properties and settings you use to paint tiles onto a tilemapA GameObject that allows you to quickly create 2D levels using tiles and a grid overlay. More info
See in Glossary
. For more information, refer to Paint tiles into the scene.

The Tile Palette editor window with the toolbar (A) at the top, the active tilemap dropdown menu and overlay buttons (B), the main area where you view and edit the tile palette (C), and the Brush Inspector window (D).
The Tile Palette editor window with the toolbar (A) at the top, the active tilemap dropdown menu and overlay buttons (B), the main area where you view and edit the tile palette (C), and the Brush Inspector window (D).

Toolbar

Use the tools in the toolbarA row of buttons and basic controls at the top of the Unity Editor that allows you to interact with the Editor in various ways (e.g. scaling, translation). More info
See in Glossary
to select a tile in the tile palette, then paint, move, and edit tiles in the SceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary
view.

Note: If you enable Tile Palette Edit, the tools select, move, and edit the tiles inside the tile palette instead of the tiles in the Scene view.

Tool Icon Description Keyboard shortcut
Select Selects a tile in the main area or the Scene view. Click and drag to select multiple tiles. The Grid Selection Inspector window displays the properties of the tile. S
Move Moves a tile in the Scene view. Select a tile with the Select tool first, select Move, then click and drag the tile. M
Paint Paints tiles. Select the tool, select a tile on the tile palette, then paint into the Scene view. Click and drag to select multiple tiles in the tile palette. B
Box Fill Paints rectangular groups of tiles. Select the tool, click and drag to select an area of tiles in the tile palette, then click and drag to paint in the Scene view. U
Pick Picks a tile from the tile palette or the Scene view, then switches to the Paint tool. Click and drag to select multiple tiles. I
Eraser Removes tiles from the Scene view. To erase a large area, select the tool, then click and drag in the tile palette to select the size of the eraser. D
Flood Fill In the Scene view, fills a blank area or an area of identical tiles with the selected tile. You can’t use this tool with more than one tile. G
Rotate Counter-Clockwise Rotates the current Paint tool tile 90° counterclockwise. [
Rotate Clockwise Rotates the current Paint tool tile 90° clockwise. ]
Flip X Flips the current Paint tool tile along the x-axis. Shift+[
Flip Y Flips the current Paint tool tile along the y-axis. Shift+]

Active Target dropdown menu and overlay buttons

Property Sub-property Icon Description
Active Tilemap N/A Sets the tilemap you want to paint tiles onto. When you open the dropdown, the active tilemap has a checkmark () next to its name.
N/A Hide Tilemap Hides the tilemap in the Scene view.
N/A Ping Tilemap Highlights the tilemap in the Hierarchy window.
N/A Create New Tilemap N/A Creates a new tilemap. The options are:
  • From Tile Palette: Creates a grid and tilemap with the same tile dimensions as the tile palette. This makes sure the tiles fit into the grid and the tilemap.
  • Rectangular Tilemap: Lays out the cells as a rectangular grid.
  • Hexagonal Point Top Tilemap: Lays out the cells as a hexagonal grid and aligns the hexagons so they have a point at the top.
  • Hexagonal Flat Top Tilemap: Lays out the cells as a hexagonal grid and aligns the hexagons so they have a flat edge at the top.
  • Isometric Tilemap: Lays out the cells as an isometric grid.
  • Isometric Z As Y Tilemap: Lays out the cells as an isometric grid, where each tile has a z value that represents its 3D height.
Brush Picks Overlay N/A Displays the Brush Picks overlay in the Scene view. For more information, refer to Save and reuse a tile selection with Brush Picks.
Tile Palette Overlay N/A Displays the Tile Palette Clipboard overlay in the Scene view, which is a compact version of the Tile Palette window.

Main area

Property Icon Description
Active Tile Palette Sets the tile palette to display and use. When you open the dropdown, the active tile palette has a checkmark () next to its name.
Create New Tile Palette N/A Creates a new tile palette.
Tile Palette Edit Enables editing the tile palette instead of the Scene view. When you enable this property, the tools in the toolbar select, move, and edit the tiles in the main area of the Tile Palette window.
Grid Displays the tile grid in the main area.
Gizmos Enables gizmos in the main area. If you enable Tile Palette Edit and select a tile using the Select tool, Unity displays gizmos for moving, rotating, scaling, and transforming tiles.

Create New Tile Palette overlay

Property Description
Name Sets the name of the tile palette.
Grid Sets the layout of the cells. The options are:
  • Rectangle: Lays out the cells as a rectangular grid.
  • Hexagon: Lays out the cells as a hexagonal grid.
  • Isometric: Lays out the cells as an isometric grid.
  • Isometric Z as Y: Lays out the cells as an isometric grid, where each tile has a z value that represents its 3D height.
Hexagon Type Sets the type of a hexagonal grid. This option is available only if you set Grid to Hexagon. The options are:
  • Point Top: Aligns the hexagons so they have a point at the top.
  • Flat Top: Aligns the hexagons so they have a flat edge at the top.
Cell Size Sets the size of the cells in the tile palette. The options are:
  • Automatic: Sets the cell size automatically based on the size of the tile at the bottom-left of the tile palette.
  • Manual: Sets the cell size manually in units.
Sort Mode Sets the method Unity uses to calculate the depth of tiles for sorting. This property has transparency in its name because Unity renders 2D objects during the transparent render pass. For more information, refer to Sort sprites.

The options are:
  • Default: Sorts using Perspective or Orthographic, depending on the Projection property of the camera.
  • Perspective: Calculates the depth of a tile as the distance between the tile and the center point of the camera. Use this option for isometric games.
  • Orthographic: Calculates the depth of a tile as the distance between the tile and the camera plane. Use this option for top-down games.
  • Custom Axis: Uses a custom axis to calculate depth.
Sort Axis Sets the x-axis, y-axis, and z-axis of the sorting axis if you set Sort Mode to Custom Axis. For example, a vertical axis (0, 1, 0) means higher GameObjectsThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
See in Glossary
are further away, which is useful for top-down games.

Brush Inspector window

Use the Brush InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
See in Glossary
window to determine the behavior of the Paint tool.

The following table lists the properties of the Default Brush. For the properties of other brushes, refer to the 2D Tilemap Extras package documentation.

Property Description
Brush Sets the behavior of the Paint tool. The options are:
  • Default Brush: Paints normally.
  • Line Brush: Paints a line of tiles.
  • Random Brush: Paints random tiles.
  • Game Object Brush: Paints GameObjects instead of tiles.
  • Group Brush: Picks a group of neighboring tiles from the tile palette.
Toggle visibility Hides the Brush Inspector window. To display the window again, click the horizontal control at the bottom of the Tile Palette window and drag up.
Script The script that defines the behavior of the brush. To create a custom brush, refer to Create a custom brush that runs a script.
Flood Fill Contiguous Only Sets the Flood Fill tool to fill only tiles connected to the tile you click. If you disable this property, the Flood Fill tool fills all tiles of the same type across the tilemap.
Lock Z Position Locks all the tiles you paint to the z position of the tile you select.
Scene ViewAn interactive view into the world you are creating. You use the Scene View to select and position scenery, characters, cameras, lights, and all other types of Game Object. More info
See in Glossary
Z Position
Paints the tiles at this z position. This property is available only if you disable Lock Z Position. Select Reset to reset the z-position value back to zero.
Palette Z Position Paints any tiles from the tile palette at this z position. This property is available only if you disable Lock Z Position. Select Reset to reset the z-position value back to zero.

Keyboard shortcuts

Key Description
Increases the z value of the tile. This property is available only if you disable Lock Z Position.
= Decreases the z value of the tile. This property is available only if you disable Lock Z Position.
Shift+B Selects the next brush in the Brush dropdown.
Shift+Alt+B Selects the previous brush in the Brush dropdown.

Additional resources

Customize how Unity creates tiles from a texture
Tile Set Importer Inspector window reference