粒子系统 (Particle System) 组件通过在场景中生成和动画化大量小型 2D 图像来模拟流体实体,如液体、云和火焰。有关粒子系统及其用途的完整介绍,请参阅关于粒子系统的更多文档。
粒子系统组件具有许多属性,为方便起见,Inspector 将它们组织成多个称为“模块”的可折叠部分。这些模块在单独的页面中进行介绍。请参阅有关粒子系统模块的文档以了解每个模块。
要展开和折叠模块,请单击显示模块名称的栏。使用左侧的复选框可启用或禁用该模块中属性的功能。例如,如果您不想在粒子的生命周期内更改粒子的大小,请取消选中 Size over Lifetime 模块。
除模块栏外,Inspector 还包含一些其他控件。Open Editor 按钮在单独的编辑器窗口中显示选项,还可让您一次性编辑多个系统。Resimulate 复选框确定是否应立即将属性更改应用于系统已生成的粒子(另一种选项是现有粒子保持不变,只有新粒子才使用更改的属性)。Selection 按钮可显示网格对象(用于在场景中显示粒子)的轮廓和线框,基于 Gizmos 下拉选单中的选择模式。边界 (Bounds) 可显示所选粒子系统的包围体积。这些将用于确定粒子系统当前是否在屏幕上。
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.