Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TwoConstants

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

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
TwoConstants = 3

Remarks

The value returned will be chosen at each evaluation as a random value between the two given constants, and will not be dependent on the variable factor (for instance, Particle System age, or particle speed).