Add sprite animation - GreenBlackSky/the_steam_song GitHub Wiki
- Add sprite images into Sprites folder.
- Convert them into Sprite 2D/UI objects.
- Cut them in sprite editor if necessary.
- Install the sprite editor from the package manager if one is missing.
- Create a new empty gameobject, save it in the Animations folder as an asset and open it in the scene.
- Drag'n'drop sprites into the scene, a new animation will be automaticly created.
- New AnimationController will also be automaticly created, delete it if you already have one.
- Alternatevly you may just drug'n'drop group of sprites into hierarchy, gameobject will be created automaticly.
- Set time intervals in the animation.
- Add it into the AnimationController, set transitions and triggers.
- Well done!