文档

Unity Engine

Unity Engine

remainingLifetime

The remaining lifetime of the particle.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public float remainingLifetime { 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.