Tilemap Ruletile Createempty

作者 Unity-Technologiesba48956ae8be無授權條款收錄於 2026年10月8日更新於 2026年10月8日

Creates an empty RuleTile asset without Sprite or Spritesheet inputs. Use ONLY when the user wants a blank RuleTile, HexagonalRuleTile, or IsometricRuleTile for custom rule configuration AND has not provided or referenced any sprites. If the user mentions existing sprites, terrain art, edge tiles, or a tiles folder, use tilemap-ruletile-createfromsegment instead, never this skill.

AI 產生的概覽

建立空的 Unity RuleTile、HexagonalRuleTile 或 IsometricRuleTile 資產,用於自訂規則設定。

功能
引導代理建立不含 Sprite 或 Spritesheet 輸入的空 Unity RuleTile 資產。它會判斷要建立的 RuleTile 類型(標準、六邊形或等角),並設定空的 TilingRules,其中每個 Sprite 陣列包含一個 null 項目。它會參照隨附的範本資源,用於標準與六邊形變體。
適用情境
當使用者想要一個空的 RuleTile、HexagonalRuleTile 或 IsometricRuleTile 用於自訂規則設定,且未提供或參照任何精靈時使用。如果提到精靈、地形美術、邊緣圖磚或圖磚資料夾,則應改用另一個從片段建立的技能。
執行需求
Unity 以及 com.unity.2d.tilemap(>=1.0.0)和 com.unity.2d.tilemap.extras(>=4.0.0)套件。僅為說明文件;不隨附指令碼。

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.

來源與署名

來源:Unity-Technologies/unity-agent-plugin位於skills/tilemap-ruletile-createempty提交ba48956

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架