Version: 2023.2
언어: 한국어
타일맵 워크플로
타일 생성

타일맵 생성

A tilemap is a GameObject you place your selected tiles on. Select a tilemap to create by going to GameObject > 2D Object > Tilemap.

Note: If you don’t have these options, you may not have the 2D Tilemap Editor package installed. If so, download the 2D Tilemap Editor package from the Package Manager.

Select Rectangular to create a rectangular tilemap. Refer to the respective pages for Hexagonal and Isometric tilemaps for more information on their specific features and uses.

You can also create a new tilemap from the Tile Palette window. Select the Create New Tilemap option in the Active Target dropdown menu to reveal the available options. If you have an active Tile Palette, select From Tile Palette to create a new tilemap with the same settings as the Tile Palette.

After creating a tilemap, Unity creates a new Grid GameObject with a child tilemap GameObject in the scene. The Grid GameObject determines the layout of its child tilemaps.

The child tilemap consists of the Tilemap component and Tilemap Renderer component. Unity paints tiles onto the tilemap GameObject.

Create additional tilemaps by selecting the Grid or Tilemap GameObject, then go to: GameObject > 2D Object > Tilemaps and select one of the tilemap options. You can also right-click on either the Grid to Tilemap GameObject and go to 2D Object > Tilemap to select another tilemap to add as a child to the same parent grid.

Warning about mismatched Cell Layouts

If the selected child grid’s Cell Layout is different from the Cell Layout of the parent grid, Unity detects there is a mismatch in the Cell Layouts and a dialog appears. The dialog prompts you to decide if you want to continue creating the child tilemap or stop the action. Select Continue to continue creating the child tilemap, and Unity changes the parent Grid’s Cell Layout to match the child’s. Select Cancel to stop creating the new child tilemap.

Note: If you are running the Unity Editor in headless mode, this dialog won’t appear and the Editor creates the tilemaps automatically as if you have selected Continue.

After creating the tilemaps, adjust the Grid’s property settings to adjust the properties of its child tilemaps. These also affects attached components such as the Tilemap Renderer and Tilemap Collider 2D components.


  • 2020.1에서 페이지 콘텐츠 및 스크린샷 업데이트됨 NewIn20201
  • 2D 타일맵 에디터는 에디터 설치에 더 이상 포함되지 않으며 패키지 관리자에서 다운로드해야 합니다. 2019.2 NewIn20192
  • 2017.2에서 타일맵 추가됨NewIn20172
타일맵 워크플로
타일 생성
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961