Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

ParticleSystem.Particle.remainingLifetime

Switch to Manual
public float remainingLifetime;

Description

The remaining 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.