ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


lifetime

The lifetime of the particle.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
注意
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.