Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ParticleSystem.ColorOverLifetimeModule

Script interface for ColorOverLifetimeModule.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Struct
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public struct ParticleSystem.ColorOverLifetimeModule

Remarks

This module changes the colors of particles over time, based on how long each particle has been alive.
Additional Resources: ParticleSystem, _colorOverLifetime

Properties

Property

Description

colorThe gradient that controls the particle colors.
enabledSpecifies whether the ColorOverLifetimeModule is enabled or disabled.