mcpField
T
tilemap-ruletile-createempty

tilemap-ruletile-createempty

github.com/unity-technologiesDevelopment1.2k2.3k installsUpdated 1d ago
Repository

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

  1. 01Create empty RuleTiles
  2. 02Support three RuleTile types
  3. 03Add a null Sprite entry per rule
  4. 04Set neighbors for the layout
  5. 05Use the specified templates

Use cases

  1. 01Create a rectangular-grid RuleTile
  2. 02Create a hexagonal RuleTile
  3. 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-createempty

After installing, type/tilemap-ruletile-createemptyin Claude Code to confirm it loaded.

Bundled filesresources/hexagonalruletile.mdresources/ruletile.md

Details

From the project README

Tilemap 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