Animating a complex loot box with Particle System

For this example, we'll work with a new scene. The animation we will create is a bit complicated—a chest will fly in to the scene and then wait for the player to open it. Once the player opens it, the chest will animate open with a particle system that pops in front of it. Then, three collectibles will fly out in sequence. Each collectible will have its own "shiny" animation that begins to play. The following figure is a storyboard of sorts that shows a few key frames of the animation playing out:

The chest sprite sheet was obtained from https://bayat.itch.io/platform-game-assets and the item ...

Get Mastering UI Development with Unity now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.