Time for action – adding explosions
A single particle system and script will allow us to create some nice explosions that can be used everywhere.
- We first need some new textures to make the explosion look like fire. Luckily, Unity provides a multitude of basic particle textures. To include them in your project, go to the top of the Unity Editor and navigate to Assets | Import Package | Particles.
- In the resulting window, select Import and wait for Unity to finish importing them. This package is a great resource, including both textures and complete particle systems. However, all of the particle systems included use the old system that will be phased out of Unity over the next few versions. Despite this, we can still make full use of the included ...
Get Unity Android Game Development by Example Beginner's Guide 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.