GetPlaybackState()
Returns all the data that relates to the current internal state of the Particle System.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
public ParticleSystem.PlaybackState GetPlaybackState()
Returns
Type | Description |
|---|---|
| PlaybackState | The current internal state of the Particle System. |
Remarks
If you want to restore the Particle System to its current state in the future, store the PlaybackState this function returns along with ParticleSystem.GetParticles and ParticleSystem.GetTrails.
Additional Resources: ParticleSystem.PlaybackState, ParticleSystem.SetPlaybackState, ParticleSystem.GetTrails.