O'Reilly logo

Learning Unity 2D Game Development by Example by Venita Pereira

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Slicing sprite sheets

If we had used a single image in our sprite, then we would not have needed to slice the sprite sheet. As we are using multiple images, we need to slice the sprite sheet to separate the clubbed images into their individual images.

Sprite Editor

To slice a sprite sheet, we need to open the Sprite Editor either by selecting Sprite Editor within the Inspector toolbar during Import settings or by first selecting the image in the Project Browser as shown in the following screenshot:

Sprite Editor

We then navigate to Window | Sprite Editor as shown in the following screenshot:

Manual slicing

To slice each image into its own sprite manually, we first ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required