unity-technologies1.6K installs
Creates a Tile Palette asset with a rectangular, hexagonal, or isometric Grid layout. Use when the user wants to organize tiles for 2D level design.
Install
npx skills add https://github.com/unity-technologies/skills --skill tilemap-palette-createSKILL.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"
Related skills
unity-cliunity-technologies6.3KControls the Unity Editor and projects from the command line, driving a running Editor to edit scenes and assets or run C#. Use when asked to install or manage Editors, licenses, or projects, set up version control, build, test, configure the Unity MCP server, or run any unity command.unity-package-managementunity-technologies5.3KAdds, removes, upgrades, and discovers Unity (UPM) packages from outside the Editor. Use for headless or CI package installs, verifying package IDs and versions, or choosing which packages a game needs. The Unity CLI doesn't manage packages.new-unity-projectunity-technologies4.6KGuides creating a new Unity project, gathering concept, platforms, and monetization before setting up the project, source control, and packages. Use when the user asks to start a new game or prototype.ui-uguiunity-technologies4.4KUnderstands, edits, and generates Unity uGUI Canvas hierarchies, RectTransforms, Layout Groups, and prefab UI. Use for requests involving Canvas, uGUI, RectTransform, or prefab UI files.