unity-tilemap-2d
Skill by gamedev-skills
Builds and scripts 2D tilemaps in Unity 6.3 LTS, covering Grid and Tilemap setup, the Tile Palette, merged colliders, Rule Tiles and runtime painting. It is for Unity developers building tile-based levels.
Install unity-tilemap-2d
Built from the published package, never by AI.
git clone --depth 1 https://github.com/gamedev-skills/awesome-gamedev-agent-skills /tmp/awesome-gamedev-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-gamedev-agent-skills/skills/unity/unity-tilemap-2d ~/.claude/skills/unity-tilemap-2dRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/gamedev-skills/awesome-gamedev-agent-skills /tmp/awesome-gamedev-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/awesome-gamedev-agent-skills/skills/unity/unity-tilemap-2d ~/.gemini/antigravity-cli/skills/unity-tilemap-2dAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The unity-tilemap-2d skill helps an AI assistant author tile-based 2D levels in Unity 6.3 LTS. It covers the Grid and Tilemap components, the Tile Palette, merged tilemap colliders using a Composite Collider 2D, Rule Tiles, and runtime painting with SetTile and GetTile. It also includes editor code that creates Tile assets from a sliced sprite sheet.
The skill sets up one Grid with a Tilemap per layer, adds collision to solid layers, and edits cells at runtime using cell coordinates. It checks results by reading the scene YAML and, when a Unity Editor is ready, by querying through the Unity CLI. It is aimed at Unity developers who want the assistant to write the code and verify the map. Level design, procedural generation, movement and Godot are handled by other skills.
Written from the project's SKILL.md and checked against it.
What it can do
- Grid and Tilemap setupSets up a Grid with one Tilemap and TilemapRenderer per layer, with sorting layers and orders.
- Tile Palette workflowExplains how designers drag a sliced sprite sheet into the Tile Palette to make tiles.
- Tile asset generationCreates Tile assets from a sliced sprite sheet using an editor script.
- Merged collisionAdds TilemapCollider2D with a CompositeCollider2D and static Rigidbody2D to avoid seams.
- Runtime paintingPaints, queries and erases tiles with SetTile, GetTile, HasTile and WorldToCell.
- Block fillsFills a region in one call with SetTilesBlock, for generated rooms and floors.
- Rule and animated tilesCovers Rule Tiles and Animated Tiles, including refreshing edited cells with RefreshTile.
- Map verificationChecks scene YAML and runs Unity CLI queries to confirm tile counts and collider paths.
What you need
- Unity 6.3 LTS (6000.3)
- 2D Tilemap Editor package (com.unity.2d.tilemap)
- 2D Tilemap Extras package (com.unity.2d.tilemap.extras) for Rule and animated tiles
- Connected Unity Editor for CLI checks
Try asking
- Create a Grid with ground and foreground Tilemaps in my Unity scene
- Add a merged TilemapCollider2D to my Ground tilemap
- Generate Tile assets from my sliced terrain.png sprite sheet
Good to know
- Rule Tiles, Animated Tiles and extra brushes need 2D Tilemap Extras installed.
- The script eval CLI command is a pre-release Unity Pipeline command.
- Visual seams and sorting problems need a person to check in Play mode.
- Level design, procedural generation and movement are covered by other skills.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/unity/unity-tilemap-2d/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB
Alternatives to unity-tilemap-2d
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
unity-tilemap-2d: common questions
Does this skill work with Unity 6.3 LTS?
Yes. The source says it covers Unity 6.3 LTS (6000.3) and was last verified against Unity 6000.3.28f1.
How does it stop collider seams between tiles?
It recommends merging tile colliders through a CompositeCollider2D with a static Rigidbody2D and Composite Operation set to Merge.
Can it paint tiles from code?
Yes. It shows runtime painting with SetTile and GetTile in cell coordinates, plus SetTilesBlock for filling regions.
How do I install unity-tilemap-2d?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is unity-tilemap-2d free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is unity-tilemap-2d safe to use?
It scores 82 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to unity-tilemap-2d?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
