export_unity_slices
Exports a sprite as a PNG plus a Unity .meta containing one multiple-mode sprite per named slice with its pivot, so Unity imports the atlas already sliced and pivoted.
Instructions
Export the sprite as a single PNG AND write a Unity .meta with one
Multiple-mode sprite per named slice, each carrying that slice's pivot —
so an atlas laid out with slices imports into Unity already sliced and
pivoted. No competitor's Aseprite→Unity path exports pivots. Requires slices
(see create_slice / set_slice_pivot). Headless: pass file.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"png_path": "<png_path>"
},
"name": "export_unity_slices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| png_path | Yes | ||
| pixels_per_unit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| png | No | ||
| guid | No | ||
| meta | No | ||
| mode | No | ||
| frames | No | ||
| sprites | No | ||
| alignment | No | ||
| frame_size | No | ||
| png_exists | No | ||
| sheet_size | No | ||
| texture_size | No | ||
| pixels_per_unit | No |