unity-technologies/skills

tilemap-palette-create

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…

All-time #7384
8-week activity

Installation

$ npx skills add https://github.com/unity-technologies/skills
Feature your product here Skill page unit · reach builders installing agent skills View pricing →

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from unity-technologies/skills · top by installs.

npx skills add https://github.com/unity-technologies/skills

Browse all from unity-technologies/skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 747
License LICENSE.md
Default branch main
Status Active

History

  1. First recorded snapshot · 42 installs

SKILL.md

Tilemap Palette Creation

Workflow

Step 1: Parameter Gathering

WAIT for the user to specify the following parameters if not already provided:

  • Palette Name: The name of the asset.
  • Grid Type: Rectangular, Hexagonal, or Isometric.
  • Cell Size: Optional (defaults based on Grid Type).
  • Sort Axis: Required for Isometric palettes.

Step 2: Asset Creation

Utilise UnityEditor.Tilemaps.GridPaletteUtility.CreateNewPalette to create the Tile Palette asset.

Branching Logic (Grid Types)

Path A: Rectangular

  • Use Automatic cell sizing. Use cell size: (1, 1, 0) as a default.

Path B: Hexagonal

  • Use cell size: (0.8659766, 1, 1).

Path C: Isometric

  • Use cell size: (1, 0.5, 1).
  • Use a Custom Sort Axis with value (0, 0, 1).

Path D: Isometric Z As Y

  • Use cell size: (1, 0.5, 1).
  • Use a Custom Sort Axis with value (0, 0, 1).

Post-Creation

Ensure that there is a GridPalette as a sub-asset of the Tile Palette asset.

References

Code Template: "scripts/CreatePaletteTemplate.cs"