Time for action – creating a spark material

It's looking pretty good, but in order to really pull off this spark effect, we should add a material to the Particle System. This material will be applied to all of the little round fuzzy particles in our system.

  1. Create a new material by either right-clicking/secondary-clicking in the Project panel and navigating to Create | Material, or by navigating to 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 ...

Get Unity 4.x 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.