In this tutorial, we will see how to slice the sprite sheet into individual sprites in Unity. I am using Unity 2021.1.13 for this tutorial.
Before we start, your sprite sheet must have a transparent background. If not, you can make it transparent following our tutorial on making the background transparent in Gimp.
Import your sprite sheet on to Unity editor.
Select the image and go to the inspector.
Set the texture type of Sprite (2D and UI)
Set the Sprite mode to multiple
Now click apply. Then click on sprite editor.
Click the arrow near Slice.
Let the settings be in automatic
Click on the slice button.
Now use the toggle button on the right top to switch the view to black and white. This will give you a better view of how the sheet has been sliced.
Now click on each sprite and adjust the border as required. Most of the time automatic slice does a good job.
If your sprite sheet is evenly made then you can also use the cell count setting to slice the sprite sheet.
You can also adjust the pivot point of individual sprite by moving the center point.
Close the window and click save. Now you should be able to see the sliced sprites in the project window.