文档

Unity Engine

Unity Engine

RandomColor

Define a list of colors in the ParticleSystem.MinMaxGradient, to be chosen from at random.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
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.