To create sprites from a texture, use the default 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 Editor tab of the Sprite Editor window.
Follow these steps:
In the Project window, select the texture you want to edit.
Note: You can’t edit a sprite by selecting it in the 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 view.
In the InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
See in Glossary window, make sure the Texture Type is set to Sprite (2D and UI).
Select Sprite Editor.
If the Sprite Mode of the texture is set to Single, the entire texture is a single sprite. To adjust the sprite in the Sprite Editor window, follow these steps:
SpriteRect.
If the Sprite Mode of the texture is set to Multiple, the texture can contain multiple sprites. Each sprite is defined by a SpriteRect that you create in the Sprite Editor window.
Do either of the following in the Sprite Editor window:
Follow these steps:
SpriteRect.To slice a texture into multiple sprites automatically, select the Slice dropdown in the toolbar.
Choose from the following slicing methods:
When you select an option other than Automatic or adjust the settings in the Slice overlay, Unity displays a preview of the sprites as red outlines. Unity might not display the outlines if you already sliced the texture.
After you select Slice to apply the slicing method, to adjust a generated sprite, select it then drag its blue handles or edges.
For more information, refer to Sprite Editor tab reference.
To make Unity display a warning when you select Revert or Apply in the Sprite Editor, follow these steps: