
Unity 4.x Game Development by Example: Beginner's Guide
By :

The particles look a bit like snowflakes at the moment. We want something more like sharp glass fragments, so let's set up a new Material with a sharper-edged texture on it to make this effect look more convincing:
In the Project panel, right-click or alternate-click on an empty area and choose Create | Material.
Name the Material Glass
.
In the Inspector panel, choose Particles/Additive in the Shader dropdown.
Click on the Select button in the texture swatch, and choose glassShard.png
from the list. (This image is in the assetsPackage
file of Chapter 10
. Import the package if you haven't already.)
Select the Glass Smash Particle System from the Hierarchy panel.
In the Inspector Panel, scroll down to the Particle Renderer component.
In the Materials section, choose the Glass material from the pop-up menu.
Once we swap in these harder-edged textures, the effect is much improved! Now our Glass Smash Particle System looks a little...
Change the font size
Change margin width
Change background colour