To cut out sprites from a texture, use the default Sprite Editor tab of the Sprite Editor window.
For each sprite, Unity creates a sprite asset () as a child of the texture in the Project 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 Scene view.
In the Inspector 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: