← UnityCONTENT HISTORY

Update to Unity

Snapshot Sep 30, 2026 · 23:16 UTC · version 0.1.6-beta

Collection source: not recorded for this historical snapshot.

WHAT CHANGED · RULE-BASED ANALYSIS

First saved snapshot

No earlier snapshot is available to establish a change.

Compare saved observations

Download comparison JSON
Full technical diff · 0 changed fields
Full snapshot data
{
  "description": "Creates a Tile Palette asset. Use when the user wants to organize tiles for 2D level design or create a new Tile Palette from scratch. The user can specify the Grid layout, eg. Rectangular, Hexagonal, Isometric.",
  "included_files": [
    {
      "relative_path": "scripts/CreatePaletteTemplate.cs",
      "size_in_bytes": 5606
    }
  ],
  "name": "tilemap-palette-create",
  "skill_md_contents": "---\nname: tilemap-palette-create\ndescription: Creates a Tile Palette asset. Use when the user wants to organize tiles for 2D level design or create a new Tile Palette from scratch. The user can specify the Grid layout, eg. Rectangular, Hexagonal, Isometric.\nrequired_packages:\n  com.unity.2d.tilemap: \">=1.0.0\"\n---\n\n# Tilemap Palette Creation\n\n## Workflow\n\n### Step 1: Parameter Gathering\nWAIT for the user to specify the following parameters if not already provided:\n- **Palette Name**: The name of the asset.\n- **Grid Type**: Rectangular, Hexagonal, or Isometric.\n- **Cell Size**: Optional (defaults based on Grid Type).\n- **Sort Axis**: Required for Isometric palettes.\n\n### Step 2: Asset Creation\nUtilise `UnityEditor.Tilemaps.GridPaletteUtility.CreateNewPalette` to create the Tile Palette asset.\n\n## Branching Logic (Grid Types)\n\n### Path A: Rectangular\n- Use **Automatic** cell sizing. Use cell size: `(1, 1, 0)` as a default.\n\n### Path B: Hexagonal\n- Use cell size: `(0.8659766, 1, 1)`.\n\n### Path C: Isometric\n- Use cell size: `(1, 0.5, 1)`.\n- Use a **Custom Sort Axis** with value `(0, 0, 1)`.\n\n### Path D: Isometric Z As Y\n- Use cell size: `(1, 0.5, 1)`.\n- Use a **Custom Sort Axis** with value `(0, 0, 1)`.\n\n## Post-Creation\nEnsure that there is a `GridPalette` as a sub-asset of the Tile Palette asset.\n\n## References\n\nCode Template: \"scripts/CreatePaletteTemplate.cs\""
}

SHA-256 of public snapshot: 979f65bfa3496ccc80657e60d6f5b2fbee724f4e51557b8b7e9badd16f61a821