Version: Unity 6.7 Alpha (6000.7)
LanguageEnglish
  • C#

ColorOverLifetimeModule

struct in UnityEngine

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual

Description

Script interface for ColorOverLifetimeModule.

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

Additional resources: ParticleSystem, ParticleSystem.colorOverLifetime

Properties

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