Version: 2022.3
Language : English
Tilemap workflow
Creating Tiles

Creating Tilemaps

A Tilemap is a GameObject you place your selected Tiles on. Create a default (rectangular) TilemapA GameObject that allows you to quickly create 2D levels using tiles and a grid overlay. More info
See in Glossary
by going to GameObject > 2D Object > Tilemap. If you do not have these options, then the 2D Tilemap Editor package may not be installed. If so, download the 2D Tilemap Editor package from the Package Manager.

Select the ‘Tilemap’ option to create the default rectangular Tilemap. Refer to the respective pages for Hexagonal and Isometric Tilemaps for more information on their uses and their options.

After selecting the Tilemap option, a new Grid GameObject is created with a child Tilemap GameObject 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
. The Grid GameObject determines the layout of its child Tilemaps.

The child Tilemap is comprised of a Tilemap component and Tilemap Renderer component. The Tilemap GameObject is where the Tiles are painted on.

Create additional Tilemaps by selecting the Grid GameObject or the Tilemap GameObject, and then go to the menu: GameObjectThe 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
> 2D ObjectA 2D GameObject such as a tilemap or sprite. More info
See in Glossary
> Tilemaps, or right-click on the selected GameObject and go to 2D Object > Tilemap to add another Tilemap as a child to the same parent Grid.

Once the Tilemap(s) are created, adjust the Grid property settings to adjust the properties of its Tilemap children, such as Cell Size or the type of layout of the child Tilemaps. These also affects attached components such as the Tilemap Renderer and Tilemap Collider 2D components.


  • Page content and screenshots updated for 2020.1 NewIn20201
  • 2D Tilemap Editor is no longer included with the Editor installation and must be downloaded from Package Manager. 2019.2 NewIn20192
  • Tilemaps added in 2017.2 NewIn20172
Tilemap workflow
Creating Tiles
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961