文档

Unity Engine

Unity Engine

startColor

The initial color of the particle. The current color of the particle is calculated procedurally based on this value and the active color modules.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public Color32 startColor { get; set; }

Remarks

Alpha channel of the color is used to fade out particles.