LoopUntilReplaced
Particle ages loop until they need to be removed. Particles are removed when creating new particles would exceed the Max Particles property.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
LoopUntilReplaced = 2
Remarks
When using this mode, particle ages will loop in the range specified by _ringBufferLoopRange. When they need to be removed, they stop looping, but continue to play until their age reaches their lifetime value. This looping behaviour means that any lifetime based properties, such as curves, repeat the portion of the curve specified by the loop range.