Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


time

Playback position in seconds.
Read time 1 minuteLast updated 4 days ago

Definition

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

Remarks

Use this to read the current playback time or to seek to a new playback time. For a looping system, this value wraps within the duration. For systems that specify a Start Delay, getting the time ignores the delay.
Additional Resources: _totalTime, _startDelay