Tilemap Ruletile Createempty

by unity-technologiescb1dccb8f5adNo license1K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated today

Creates an empty RuleTile, HexagonalRuleTile, or IsometricRuleTile asset. Use only when the user wants a blank RuleTile and provides no sprites; with sprites or terrain art, use tilemap-ruletile-createfromsegment.

Instructions onlySoftware Development
AI-generated overview

Creates an empty Unity RuleTile, HexagonalRuleTile, or IsometricRuleTile asset with no sprites.

What it does
Guides the agent through creating a blank Unity RuleTile asset, choosing between the standard rectangular, hexagonal, or isometric RuleTile type. It defines empty TilingRules whose Sprite array holds a single null entry and points to template resources for the rectangular and hexagonal variants. It produces the empty RuleTile asset definition rather than any tile artwork.
When to use it
Use when the user asks for a blank RuleTile and supplies no sprites or spritesheets. If sprites or terrain art are provided, a different skill for creating RuleTiles from segments should be used instead.
Requirements
Requires the Unity packages com.unity.2d.tilemap (>=1.0.0) and com.unity.2d.tilemap.extras (>=4.0.0). Ships no scripts; it is instructions plus two model-readable resource templates.

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.

Source and attribution

Source:unity-technologies/skillsinskills/tilemap-ruletile-createemptyat commitcb1dccb

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal