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 从公开仓库中收录这些内容。

举报或申请下架