Unity’s Tilemap 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 the Tile Palette editor reference.
Topic | 描述 |
---|---|
Essential tilemap steps and tools | Landing page for the main workflows to follow when creating tilemaps and tiles. |
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 elements you can use to paint on Tilemaps. |
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. |
Tile Palette editor reference | Refer to the properties of the Tilemap Palette editor window. |