O'Reilly logo

Unity 3D Game Development by Example by Ryan Henson Creighton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - create a Spark Material

In order to really pull off this effect, we should add a material to the Particle System. We need to create that material first, so let's turn our attention to that for the moment.

  1. Create a new Material by either right-clicking/secondary-clicking in the Project panel and choosing Create | Material, or by clicking Assets | Create | Material in the menu.
  2. Name the new Material Spark. The sphere icon helps us remember that this is a Material. Consider dragging this new Material into the Materials folder to keep your project organized.
  3. In the Inspector panel, choose Particles | Additive as the Shader type.
  4. Click on the Select button in the square swatch labeled Particle Texture (it should say None (Texture ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required