Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


lifetime

The lifetime of the particle.
Read time 1 minuteLast updated 8 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
Warning
Deprecated. Please use Particle.remainingLifetime instead.
public float lifetime { get; set; }

Remarks

This is the time in seconds for how long this particle remains alive. When the lifetime drops below zero the system destroys the particle.