T
tilemap-ruletile-createempty
About tilemap-ruletile-createempty
A skill for creating empty Unity RuleTiles when no Sprites or Spritesheets are provided. It selects a type for rectangular, hexagonal, or isometric layouts and gives each rule an empty Sprite entry.
Key features
- 01Create empty RuleTiles
- 02Support three RuleTile types
- 03Add a null Sprite entry per rule
- 04Set neighbors for the layout
- 05Use the specified templates
Use cases
- 01Create a rectangular-grid RuleTile
- 02Create a hexagonal RuleTile
- 03Create an isometric RuleTile
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ unity-technologies/ skills --skill tilemap-ruletile-createemptyAfter installing, type/tilemap-ruletile-createemptyin Claude Code to confirm it loaded.
Bundled filesresources/hexagonalruletile.mdresources/ruletile.md
Details
From the project READMETilemap RuleTile Create Empty
Workflow
Step 1: Verify No Sprite Inputs
WAIT - Confirm that no Sprites or Spritesheets were specified by the user. This skill is only for empty RuleTiles. If there are Sprites or Spritesheets specified by the user, use the tilemap-ruletile-createfromsegment skill instead.
Step 2: Determine RuleTile Type
Identify which RuleTile type to create based on user request:
- RuleTile: Standard rectangular grid
- HexagonalRuleTile: Hexagonal grid layout
- IsometricRuleTile: Isometric grid layout
Step 3: Create Empty TilingRules
For each TilingRule, ensure the Sprite array has one null entry.
Branching Logic (RuleTile Types)
Path A: RuleTile
- Use template from
resources/ruletile.md.
Path B: HexagonalRuleTile
- Use template from
resources/hexagonalruletile.md.
Path C: IsometricRuleTile
- Create empty rules with appropriate neighbor positions for isometric layout.
Important Notes
- TilingRuleOutput.Neighbor.This: Use to identify RuleTiles that are the same (matching neighbors).
- TilingRuleOutput.Neighbor.NotThis: Do NOT use unless explicitly specified by the user to ignore a Tile at a certain position.
Comments
Markdown supported