Version: 2022.3
Language : English
Sprite Shape Renderer
Tilemap component reference

Create Tilemaps

Unity’s TilemapA GameObject that allows you to quickly create 2D levels using tiles and a grid overlay. More info
See in Glossary
system stores and handles Tile Assets for creating 2D levels, which makes it easy to create and iterate level design cycles within Unity. The Tilemap system transfers the required information from the Tiles placed on it to other related components such as the Tilemap Renderer and the Tilemap Collider 2D.

By default, the Tilemap package isn’t included in the Unity Editor, so you must download the 2D Tilemap Editor package from the Package Manager.

When you create a Tilemap, the Grid component is automatically parented to the Tilemap and acts as a guide when you lay out Tiles onto the Tilemap. To create, change, or pick the Tiles for painting onto a Tilemap, use the Tile Palette (menu: Window > 2D > Tile Palette) and its tools. For more information, refer to Creating a Tile Palette and Painting Tilemaps.

Topic Description
Tilemap component reference Refer to the properties of the Tilemap component.
Grid component reference Refer to the properties of the Grid component.
Tilemap Renderer component reference Refer to the properties of the Tilemap Renderer component.
Tile asset reference Refer to the properties of Tile assets.
Tile Palette preferences reference Refer to the properties of the Tile Palette component.
Tilemap workflow Follow the general workflow to create a Tilemap.
Hexagonal Tilemaps Create Hexagonal Tilemaps in your 2D project.
Isometric Tilemaps Create Isometric Tilemaps in your 2D project.
Scriptable Tiles Understand how to use the available classes for Scriptable Tiles.
Scriptable Brushes Understand how to use the available classes for Scriptable Brushes.
Tile Palette visual elements Learn which visual elementsA node of a visual tree that instantiates or derives from the C# VisualElement class. You can style the look, define the behaviour, and display it on screen as part of the UI. More info
See in Glossary
you can use to paint on Tilemaps.

Additional resources

Sprite Shape Renderer
Tilemap component reference
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961