How to add an animated GIF instead of single image

So, I have created my own sprites for this project & have created a player gif with flames. Like this:-
Player_Gif

How can I attach my gif to player Sprite Renderer, instead of simple image.

Hi Ankush,

You can’t just add an animated gif. What you need to is create an Animation Clip which will contain the key frames of animation. You add an Animator and assign the Animation Clip.

The above is fairly simplistic as an explanation but you’ll find animation covered in the next section, Glitch Garden.

Hope this helps :slight_smile:

2 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms