Documentation

Unity Engine


Unity Engine


ParticleSystem.ColorOverLifetimeModule

Script interface for ColorOverLifetimeModule.
Read time 1 minuteLast updated 13 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.

Properties

Property

Description

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