Version: 2022.3
Language : English
Main module
Shape module

Emission module

The properties in this module affect the rate and timing of Particle SystemA component that simulates fluid entities such as liquids, clouds and flames by generating and animating large numbers of small 2D images in the scene. More info
See in Glossary
emissions.

Using the Emission module

This module is part of the Particle System component. When you create a new Particle System GameObjectThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
See in Glossary
, or add a Particle System component to an exiting GameObject, Unity adds the Emission module to the Particle System. By default, Unity enables this module. To create a new Particle System and enable this module:

  1. Click GameObject > Effects > Particle System.
  2. In the InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
    See in Glossary
    , find the Particle System component.
  3. In the Particle System component, find the Emission module fold-out.
  4. To the left of the fold-out header, enable the checkbox.

API

Since this module is part of the Particle System component, you access it through the ParticleSystem class. For information on how to access it and change values at runtime, see the Emission module API documentation.

Properties

For some properties in this section, you can use different modes to set their value. For information on the modes you can use, see Varying properties over time.

Property Function
Rate over Time The number of particles emitted per unit of time.
Rate over Distance The number of particles emitted per unit of distance moved.
Bursts A burst is an event which spawns particles. These settings allow particles to be emitted at specified times.
    Time Set the time (in seconds, after the Particle System begins playing) at which to emit the burst.
    Count Set a value for the number of particles that may be emitted.
    Cycles Set a value for how many times to play the burst.
    Interval Set a value for the time (in seconds) between when each cycle of the burst is triggered.
    Probability Controls how likely it is that each burst event spawns particles. A higher value makes the system produce more particles, and a value of 1 guarantees that the system produces particles.

Details

The rate of emission can be constant or can vary over the lifetime of the system according to a curve. If Rate over Distance mode is active, a certain number of particles are released per unit of distance moved by the parent object. This is very useful for simulating particles that are actually created by the motion of the object (for example, dust from a car’s wheels on a dirt track).

If Rate over Time is active, then the desired number of particles are emitted each second regardless of how the parent object moves. Additionally, you can add bursts of extra particles that appear at specific times (for example, a steam train chimney that produces puffs of smoke).


  • 2018–10–19 Page amended

  • Burst probability added to Particle System Emission module in Unity 2018.3 NewIn20183

Main module
Shape module
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961