Version: 2022.2
public float time ;

描述

播放位置(以秒为单位)。

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.

See Also: ParticleSystem.MainModule.totalTime, ParticleSystem.MainModule.startDelay.