unity-tilemap-2d
Build and script 2D tilemaps in Unity 6: the Grid + Tilemap components, the Tile Palette, tilemap colliders, rule tiles, and runtime SetTile/GetTile painting. Use when painting tile levels, adding a TilemapCollider2D, using rule or animated tiles, generating tilemaps from code, or when the user mentions Unity tilemap, tile palette, rule tile, or Grid.
npx skills add gamedev-skills/awesome-gamedev-agent-skills --skill unity-tilemap-2d --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Unity 2D Tilemap Author and script tile-based 2D levels in Unity 6 with the `Grid`/`Tilemap` system, the Tile Palette, colliders, and runtime painting. Targets **Unity 6 (6000.0 LTS)**. > **Package note:** the core Tilemap (`Grid`, `Tilemap`, `Tile`, `TilemapCollider2D`) is > built in. **Rule Tiles, Animated Tiles, and Tile Palette brushes live in the separate > "2D Tilemap Extras" package (`com.unity.2d.tilemap.extras`)** — install it via Package > Manager before using `RuleTile`. ## When to use - Use when laying out a 2D level by painting tiles, setting up a `Grid` + `Tilemap`, adding collision to the map, using auto-tiling Rule Tiles, or generating/editing tiles from script. - Use when scenes contain a `Grid` with `Tilemap` children, or `*.asset` tile/palette files. **When _not_ to use:** level _design_ practice (pacing, blockout, layout principles) → `level-design`. 3D tile/grid placement → Unity's own 3D tooling (ProBuilder / grid brushes; no dedicated skill here). The platformer character that moves over the tiles → `platformer` / `unity-physics`. ## Core workflow 1. **Create the grid:** GameObject → 2D Object → Tilemap → Rectangular. This makes a `Grid` with a child `Tilem
- When to use
- Core workflow
- Patterns
- 1. Painting tiles at runtime (cell coordinates)
- 2. Bulk fill a region (faster than per-cell SetTile)
- 3. Clearing and refreshing
- Pitfalls
- References
- Related skills
What does the unity-tilemap-2d skill do?
Build and script 2D tilemaps in Unity 6: the Grid + Tilemap components, the Tile Palette, tilemap colliders, rule tiles, and runtime SetTile/GetTile painting. Use when painting tile levels, adding a TilemapCollider2D, using rule or animated tiles, generating tilemaps from code, or when the user mentions Unity tilemap, tile palette, rule tile, or Grid.
How do I install it?
Run `npx skills add gamedev-skills/awesome-gamedev-agent-skills --skill unity-tilemap-2d --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From gamedev-skills/awesome-gamedev-agent-skills, a repository with 406 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
