ParticleSystemEmitterVelocityMode
Control how a Particle System calculates its velocity.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Enum
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
public enum ParticleSystemEmitterVelocityMode
Fields
Value | Description |
|---|---|
| Custom | When the Particle System calculates its velocity, it instead uses the custom value set in ParticleSystem.MainModule.emitterVelocity. |
| Rigidbody | Calculate the Particle System velocity by using a Rigidbody or Rigidbody2D component, if one exists on the GameObject. |
| Transform | Calculate the Particle System velocity by using the Transform component. |