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 Tile Palette and Painting Tilemaps.
Topic | 描述 |
---|---|
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 the Tile Assets component. |
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 elements you can use to paint on Tilemaps. |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.