Documentation

Unity Engine

Unity Engine

RandomColor

Define a list of colors in the ParticleSystem.MinMaxGradient, to be chosen from at random.
Read time 1 minuteLast updated 21 hours ago

Definition

RandomColor = 4

Remarks

The gradient is evaluated at a random point. The color returned is uninterpolated between color keys. Each color key in the gradient effectively changes the gradient to a fixed color for values between that key and the following key.