文档

Unity Engine

Unity Engine

ParticleSystemEmitterVelocityMode

Control how a Particle System calculates its velocity.
阅读时间1 分钟最后更新于 2 天前

Definition

public enum ParticleSystemEmitterVelocityMode

Fields

Value

Description

CustomWhen the Particle System calculates its velocity, it instead uses the custom value set in ParticleSystem.MainModule.emitterVelocity.
RigidbodyCalculate the Particle System velocity by using a Rigidbody or Rigidbody2D component, if one exists on the GameObject.
TransformCalculate the Particle System velocity by using the Transform component.