此模块中的属性会影响粒子系统发射的速率和时间。
属性 | 功能 |
---|---|
Rate over Time | 每个时间单位发射的粒子数。 |
Rate over Distance | 每个移动距离单位发射的粒子数。 |
Bursts | 爆发是指生成粒子的事件。通过这些设置可允许在指定时间发射粒子。 |
Time | 设置发射爆发粒子的时间(粒子系统开始播放后的秒数)。 |
Count | 设置可能发射的粒子数的值。 |
Cycles | 设置播放爆发次数的值。 |
Interval | 设置触发每个爆发周期的间隔时间(以秒为单位)的值。 |
Probability | 控制每个爆发事件生成粒子的可能性。较高的值使系统产生更多的粒子,而值为 1 将保证系统产生粒子。 |
根据曲线,发射速率可以是恒定的,也可以在系统的生命周期内变化。如果激活 Rate over Distance 模式,则父对象移动的每个距离单位将释放一定数量的粒子。此模式对于模拟实际由对象运动产生的粒子非常有用(例如,泥路上车轮留下的尘土)。
如果激活 Rate over Time 模式,则无论父对象如何移动,每秒都会发射所需数量的粒子。此外,还可添加在特定时间出现的额外粒子爆发(例如,蒸汽火车烟囱产生一股股的烟雾)。
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.