Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


totalTime

Total playback time in seconds, including the Start Delay setting.
Read time 1 minuteLast updated 5 days ago

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.