Give more live to the collectables on your game!!
Objective: create a spin animation for the collectable prefab.
First step is to add an animator component to the collectable in the scene.

We have to create a new animator controller and a new animation, the animator controller has to be assigned in the inspector and the animation has…