Sprite system

It's hard to get excited about a game project until the visual elements are in the scene. We will discuss how to bring our character in the game shortly, but first let's go over how to actually use Sprites in Unity. A brief overview of working with Sprites is given in the previous chapter, but now we will get more technical.

Importing sprites

The simplest way to import a sprite into a scene is to simply drag it from your File Explorer (Windows) or Finder (Mac OS X) into Unity's Project Window. Once the image file is brought into the project, clicking on the image will show its various import settings in the image's Inspector, as shown in the following screenshot:

Image Inspector on Project window

Let's take a closer view at the various ...

Get Mastering Unity 2D Game Development - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.