Import an image and use it as a spriteA 2D graphic objects. If you are used to working in 3D, Sprites are essentially just standard textures but there are special techniques for combining and managing sprite textures for efficiency and convenience during development. More info
See in Glossary or set of sprites in a 2D sceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary.
To use an imported image as one or more sprites, set its texture type to Sprite (2D and UI). Follow these steps:
Note: In a 2D project, Unity automatically sets Texture Type to Sprite (2D and UI) when you import an image.
The Sprite Mode property of the texture determines whether Unity creates one sprite or multiple sprites from the texture.
For each sprite, Unity creates a sprite asset () as a child of the texture in the Project window.
Set Sprite Mode to the following:
To set the shape and size of sprites, refer to Create sprites from a texture.
To add a sprite to a scene, drag the sprite asset () from the Project window into the Scene window or Hierarchy window.
Unity creates a GameObjectThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
See in Glossary with a Sprite RendererA component that lets you display images as Sprites for use in both 2D and 3D scenes. More info
See in Glossary component. The component renders the sprite and controls how it appears in the scene.
To add a sprite to an existing GameObject, follow these steps: