Make Animation in Unity

First, open Unity in your system and click the "Create New Project" tab.

open Unity in your System

Now click on the Create button. You will see the following screen and you can adjust the Tab as you choose to.

Now open your browser and search in Google for “sprite coin image png”. From here you can also use any image.

sprite coin image png

Then download the image. Now go to the Unity and open Project Tab (go to Windows, then Project and Ctrl+5).

open Project Tab

Drag your image into the Assets folder.

Drag Your image

Open the Inspector Tab (go to Windows, then Inspector and Ctrl+3) and set the Align anywhere in Unity (Right/Left/Bottom).

Now click on the image, then you will see some properties of the image in the Inspector Tab.

Inspector Tab

Now click on "Sprite Mode" and select Multiple, not Single and then click Sprite Editor.

Sprite Editor

When you click on the Sprite Editor the image will show in the Sprite Editor. Now check All Properties and click on the Slice Button.

Check All Properties

Then click on Slice, you will see your image in pieces and the selected portion is as in the following image.

Every image will be separated from another image by the selection portion.

Image Selection Portion

Now click on Apply at the top-right side of the Sprite Editor and close it.

Then go to the Project Tab and click the Play Button as in the following image, then all the images will be shown separately.

goto Project Tab

Now drag one Image into the Hierarchy Tab and open the Scene Tab in the right and double-click on the image.

drag One Image

For increasing the size of the image change the value of the scale in the Inspector Tab.

increase size of image

Then open the Animation Tab (go to Window, then Animation and Ctrl+6) separately.

Animation

Now select all the images from the Project Tab in ascending order and drag and drop into the Animation Tab and save it.

Select All Images From Project

Then you can vary sample values, like 20, 30 or 50 as you like. The sample value defines the delay between each image.

Now click on the Play Button. You will then see in the Scene Tab your coin will be animated as an images sequence.

Click on Play Button

I hope you will like it.

Up Next
    Ebook Download
    View all
    Learn
    View all