主模块的脚本接口。
cullingMode | Configure whether the Particle System will still be simulated each frame, when it is offscreen. |
customSimulationSpace | 模拟相对于自定义变换组件的粒子。 |
duration | 粒子系统的持续时间(以秒为单位)。 |
emitterVelocityMode | 控制粒子系统在世界中移动时如何计算其速度。 |
flipRotation | Makes some particles spin in the opposite direction. |
gravityModifier | 应用于重力(由 Physics.gravity 定义)的缩放。 |
gravityModifierMultiplier | Change the gravity multiplier. |
loop | 粒子系统是否循环? |
maxParticles | 要发射的最大粒子数。 |
playOnAwake | 如果设置为 true,则粒子系统会在启动时自动开始播放。 |
prewarm | 启用循环时,这可控制此粒子系统在首次变为可见时,是否看似已模拟了一个循环。 |
ringBufferLoopRange | When ParticleSystem.MainModule.ringBufferMode is set to loop, this value defines the proportion of the particle life that is looped. |
ringBufferMode | Configure the Particle System to not kill its particles when their lifetimes are exceeded. |
scalingMode | 控制粒子系统的变换组件如何应用于粒子系统。 |
simulationSpace | 这可选择要在其中模拟粒子的空间。可以是世界或本地空间。 |
simulationSpeed | 重写粒子系统的默认播放速度。 |
startColor | 发射时的粒子初始颜色。 |
startDelay | 启动延迟(以秒为单位)。 |
startDelayMultiplier | 启动延迟乘数(以秒为单位)。 |
startLifetime | 每个新粒子将具有的总生命周期(以秒为单位)。 |
startLifetimeMultiplier | 初始生命周期乘数。 |
startRotation | 发射时的粒子初始旋转。 |
startRotation3D | 用于启用 3D 粒子旋转的标志。 |
startRotationMultiplier | The initial rotation multiplier of particles when emitted. |
startRotationX | 发射时粒子围绕 X 轴的初始旋转。 |
startRotationXMultiplier | The initial rotation multiplier of particles around the X axis when emitted. |
startRotationY | 发射时粒子围绕 Y 轴的初始旋转。 |
startRotationYMultiplier | The initial rotation multiplier of particles around the Y axis when emitted. |
startRotationZ | 发射时粒子围绕 Z 轴的初始旋转。 |
startRotationZMultiplier | The initial rotation multiplier of particles around the Z axis when emitted. |
startSize | 发射时的粒子初始大小。 |
startSize3D | 一个标志,用于启用为每个轴单独指定粒子大小。 |
startSizeMultiplier | A multiplier of the initial size of particles when emitted. |
startSizeX | 发射时粒子沿 X 轴的初始大小。 |
startSizeXMultiplier | The initial size multiplier of particles along the X axis when emitted. |
startSizeY | 发射时粒子沿 Y 轴的初始大小。 |
startSizeYMultiplier | The initial size multiplier of particles along the Y axis when emitted. |
startSizeZ | 发射时粒子沿 Z 轴的初始大小。 |
startSizeZMultiplier | The initial size multiplier of particles along the Z axis when emitted. |
startSpeed | 发射时的粒子初始速度。 |
startSpeedMultiplier | 发射时的粒子初始速度的乘数。 |
stopAction | Select whether to Disable or Destroy the GameObject, or to call the OnParticleSystemStopped script Callback, when the Particle System is stopped and all particles have died. |
useUnscaledTime | 为 true 时,使用未缩放增量时间模拟粒子系统。否则使用已缩放增量时间。 |