Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


vectorFieldAttraction

Controls how strongly particles are dragged into the vector field motion.
Read time 1 minuteLast updated 4 days ago

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.