Unity粒子系统

时间:2021-10-08 11:46:50

最近比较清闲,就重新看了一遍例子系统,感觉能把效果做的炫酷对于初学者来说并不是一件容易的事,但是回头想想,最重要的原因可能还是没有把Particle Systems组件研究透吧,温故而知新,一起复习一下粒子系统吧。

下面是Unity5.5.0版本的粒子系统官方文档的翻译

Unity粒子系统

【Main module】

这个模块包含全局属性,影响全局系统。

Unity粒子系统

 

Property: Function:
Duration//持续
整个粒子系统运行的时间
Looping//循环
如果启用,系统将在其持续时间结束时再次启动并继续重复循环
Prewarm//预热
如果启用,系统将被初始化,好像它已经完成了一个完整的循环(only works if Looping is also enabled).
Start Delay//延迟启动
Delay in seconds before the system starts emitting once enabled.
Start Lifetime//生命周期
The initial lifetime for particles.
Start Speed
每个粒子在适当方向上的初始速度
3D Start Size 控制各个轴的尺寸
Start Size The initial size of each particle.//initial初始
3D Start Rotation Enable this if you want to control the rotation of each axis seperately.
Start Rotation The initial rotation angle of each particle.
Randomize Rotation Direction//随机旋转方向
导致一些粒子在相反方向旋转
Start Color The initial color of each particle.
Gravity Modifier//重力修改
Scales the gravity value set in the physics manager. A value of zero will switch gravity off.
Simulation Space//模拟空间
Toggles whether particles are animated in the parent object’s local space (therefore moving with the parent object) or in the world space.
Scaling Mode//扩展模式
Use the scale from the transform. Set to Hierarchy, Local or Shape. Local applies only the particle system transform scale. Shape mode applies only the scale to the start position of the particles.
Play on Awake If enabled, the particle system starts automatically when the object is created.
Max Particles//最大粒子数
The maximum number of particles in the system at once. Older particles will be removed when the limit is reached.委婉

未完待续。。。