GetPlaybackState()
Returns all the data that relates to the current internal state of the Particle System.
Read time 1 minuteLast updated 4 days ago
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.