文档

Unity Engine

Unity Engine

vectorFieldAttraction

Controls how strongly particles are dragged into the vector field motion.
阅读时间1 分钟最后更新于 21 天前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public ParticleSystem.MinMaxCurve vectorFieldAttraction { get; set; }

Remarks

Set in conjunction with ParticleSystemForceField.vectorFieldSpeed to apply a vector field to the particle motion.
Additional Resources: ParticleSystemForceField