Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TwoCurves

Use a random value between 2 curves for the ParticleSystem.MinMaxCurve.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
TwoCurves = 2

Remarks

Two curves will each be evaluated at the input value (for example, Particle System age or particle speed, depending on the module), and a random value between the two results will be computed and returned. Thus, some control over the overall value is retained, but the result is still randomized.