Unity's Sprite Editor allows you to edit the details of individual Sprite
s, but is very tedious to use if you have to perform the same modification to lots of them so this Tool allows you to edit many at once. It can set the rect
, pivot
, alignment
, and border
of a Sprite
. The Rename Sprites tool handles their names.
Rect Example
Image | Single Sprite | Trimmed Sprite |
---|---|---|
- The left side of the
Sprite
has 5 pixels of blank space, so we want to move theX
value +5 pixels to the right. - The right side also has 5 pixels of blank space, so we want to move the
Width
by -10 (-5 for the left and -5 for the right). - Then 3 pixels on top so we reduce the
Height
by -3. - The bottom is fine, so
Y
stays at 0. - Once the values are entered, we
Add
those numbers to theSprite
's borders. - After we check that the
Sprite
was modified correctly, we can select some others and apply the same modification to them. - If any of the modifications were incorrect, we could have simply used the
Subtract
button to reverse them.
This video is a little out of date and only shows Rect editing.
Inspector
Normally when you select a Sprite
asset the Inspector only shows a few of its details and you need to open the Sprite Editor if you want to modify any of them, but Animancer adds a custom Inspector which allows you do edit everything directly:
- It displays both pixel values and normalized values.
- The
Pivot
point is visualised on the preview image. HoldingCtrl
while dragging it will snap the value to the nearest pixel. - Multiple
Sprite
s can be edited at the same time.
Unity Default | With Animancer |
---|---|