Documentation

Unity Engine

Download Unity

Unity Engine

ParticleSystem.ColorOverLifetimeModule

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