기술 자료

Unity Engine

Unity Engine

RandomColor

Define a list of colors in the ParticleSystem.MinMaxGradient, to be chosen from at random.
읽는 시간 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.