Clear
Remove all particles in the Particle System.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
Clear(bool)
Remove all particles in the Particle System.
public void Clear(bool withChildren)
Parameters
Clear all child Particle Systems as well.
Remarks
This method also removes the particles from any linked sub-emitters. Use the withChildren parameter to remove particles from child Particle Systems that are not sub-emitters of the system.
Clear()
Remove all particles in the Particle System.
public void Clear()
Remarks
This method also removes the particles from any linked sub-emitters. Use the withChildren parameter to remove particles from child Particle Systems that are not sub-emitters of the system.