Skip to content
Kitbay

sprite-segment-3x3grid

LicenseRef-Unity-Companion-LicenseUpdated on Nov 6, 20261,239GitHub starsIncludes scripts

A Unity skill that analyses a sprite by dividing its texture into a three-by-three grid and marking which cells share the colour of the centre cell, producing a small text pattern with a legend.

What the skill teaches

A Unity skill that analyses a sprite by dividing its texture into a three-by-three grid and marking which cells share the colour of the centre cell, producing a small text pattern with a legend. It defines the parameters, algorithm and output format, and is meant for comparing or documenting a sprite's structure or colour layout. A bundled C# script does the analysis, and the agent removes any temporary checking code when finished.

Capabilities

  • Split a sprite into a 3x3 grid
  • Compare each cell's colour with the centre
  • Output a cell pattern with a legend