Version: 5.5 (switch to 5.6b)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Method group is Obsolete

ParticleSystem.Particle.lifetime

Switch to Manual
Obsolete public float lifetime;

Description

The lifetime of the particle.

This is the time in seconds for how long this particle will remain alive. When the lifetime drops below zero the Particle will be killed.