Version: 2017.1
Method group is Obsolete

Particle.energy

切换到手册
Obsolete public float energy ;

描述

粒子的能量。

这是该粒子保持活动状态的时间(以秒为单位)。 当能量下降到低于零时,粒子会被湮灭。

The energy is also used for UV animation:
If energy equals Particle.startEnergy the first tile will be used.
If energy equals 0 the last tile will be used.

另请参阅:Particles documentation