Getting ready

To follow this recipe, we need an animation exported as a sprite sheet. If you want to know how to create a sprite sheet animation, you can read the Exporting a 2D sprite animation from a 3D package recipe in Chapter 32D and User Interface Animation, where you can find an example sprite animation.

Example sprite sheet animation

You can also open the provided example project and go to the Chapter 07 Special effectsRecipe 07 Using sprite sheets to animate particles directory. If you open the Example.unity scene there and play the game, you will see a particle system with explosions using sprite sheet animation. You can find the necessary sprite sheet in the Rigs directory.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.40.63