Version: 2017.2
Triggers 模块
Texture Sheet Animation 模块

Sub Emitters 模块

在此模块中可设置子发射器。这些子发射器是在粒子生命周期的某些阶段在粒子位置处创建的附加粒子发射器。

属性

属性 功能
Sub Emitters 配置一个子发射器列表,并选择它们的触发条件以及它们从父粒子继承的属性。

详细信息

Many types of particles produce effects at different stages of their lifetimes that can also be implemented using Particle Systems. For example, a bullet might be accompanied by a puff of powder smoke as it leaves the gun barrel, and a fireball might explode on impact. You can use sub-emitters to create effects like these.

Sub-emitters are ordinary Particle System objects created in the Scene or from Prefabs. This means that sub-emitters can have sub-emitters of their own (this type of arrangement can be useful for complex effects like fireworks). However, it is very easy to generate an enormous number of particles using sub-emitters, which can be resource-intensive.

There are three conditions that you can use to trigger a sub-emitter:

  • Birth: When the particle is created
  • Collision: When the particle collide with an object
  • Death: When the particle are destroyed

Note that the Collision and Death events can only use burst emission in the Emission module.

Additionally, you can transfer properties from the parent particle to each newly created particle using the Inherit options. It’s possible to transfer any combination of size, rotation, color and lifetime. To control how velocity is inherited, configure the Inherit Velocity module on the sub-emitter system.

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