Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ParticleSystem.Clear

Switch to Manual
public void Clear(bool withChildren = true);

Parameters

withChildren Clear all child particle systems as well.

Description

Remove all particles in the particle system.