文档

Unity Engine

Unity Engine

startLifetime

The total lifetime in seconds that particles will have when emitted. When using curves, this value acts as a scale on the curve. This value is set in the particle when it is created by the Particle System.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
警告
Deprecated. startLifetime property is deprecated. Use main.startLifetime or main.startLifetimeMultiplier instead.
public float startLifetime { get; set; }

Remarks