文档

Unity Engine

Unity Engine

totalTime

Total playback time in seconds, including the Start Delay setting.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public float totalTime { get; }

Remarks

Use this to read the current playback time. For looping systems, the returned value is not wrapped within the duration, unlike ParticleSystem.time.