Book Image

Building Levels in Unity

By : Volodymyr Gerasimov
Book Image

Building Levels in Unity

By: Volodymyr Gerasimov

Overview of this book

Table of Contents (17 chapters)
Building Levels in Unity
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
4
Dealing with Basic Animations
Index

The particle editor


Just like with most Unity functionalities, you can create a particle system as a standalone GameObject by navigating to GameObject | Particle System or attach it to an existing GameObject as a component by navigating to AddComponent | Effects | Particle System. It is quite a useful functionality for something like muzzle flashes from a gunfire. However, let's stick to the first option for now and take a look at how the particle system operates.

The particle system control is an unfolded section at the top. This is where most basic and important controls are located that every particle system must have, so it makes sense to pause here and take a brief look at them:

  • Duration: This determines how long this system will be emitting particles. This helps to control the length of one-shot effects, such as explosions.

  • Looping: As you might guess, this checkbox makes Particle System emit over and over again. Apart from direct application, it's also useful to keep checked when testing...