Categories: Unity, C #, VS2015
Date Created: 2016-05-02 I. INTRODUCTION
The particle system is attached to the game object as a component, and there are two ways to add it. Second, the way to add the ready-made precast body
The 1th way is to directly add the prepared preform. The approach is:
1. Add a Game Object
Click the "Gameobject"-"creat empty" option in the menu bar to create an empty object, and then change the object to a meaningful name, such as: particles.
2. Adding a particle preform
Drag and drop the required particle component preform into the empty object. For example, drag and drop a duststorm (smoke) to particles, and you'll see the following effect:
Of course, you can also continue to add other particle preform components to combine the desired scene effects. Three, way 2--add particle system generator
The 2nd way is to add the particle system Generator (particlesystem) and then modify the relevant properties in the viewer to make it the particle effect you want, or use it to make your own particle preform.
Add the following method.
1. Add a Game Object
Click the "gameobject" → "creat empty" option in the menu bar to create an empty object and then change the object to a meaningful name, such as: Newparticles.
2. Adding particle systems
Right-click Newparticles and add "particle System" to it:
Once added, you can see the following effect:
You can then make your own desired smoke, steam, and flames by modifying the associated properties in the viewer view 、...... And so on a variety of particle effects. For example, use it to make a smoke-blown flame:
"Unity" 9.2 how to add particle components