

Some sprite-sheets have their images ordered in different ways.

Click on the Slice drop-down, and here we can see that the options Automatic, Centre, and Delete Existing are default chosen.Drag the Sprite Editor window and dock it.Go to the Windows menu and select 2D -> Sprite Editor.Now Unity will treat ken-sprite-sheet.png as a sprite sheet with multiple frames of animation. Click the Apply button in the Inspector tab. Select this imported Asset, and in the Inspector window, change the Sprite mode option from Single to Multiple.Browse to the sprite sheet image you downloaded and click the import button.Right-click on the Assets and select Import New Asset.A link is given below from where you can download: ken-sprite-sheet.png First of all, download the sprite sheet that contains all the frames of animation for a simple walking animation.Now, in the Rigidbody 2D component, set the Gravity Scale to zero.For this, click on the Add Component button and choose Physics 2D -> Rigidbody 2D. Make sure to choose Animator nor Animation. In the Inspector tab, click the Add Component button. Select the Player GameObject and Go to the Inspector tab.For this Right Click on the Hierarchy tab and select Create Empty. First of all, we need a GameObject in our scene.Creating GameObject and Adding Components In a nutshell, a sprite sheet is a way of packing images together as one image, which is then used to create animations and sprite graphics as it will use low memory and increase the performance of games.
