Manual     Reference     Scripting  
  
Scripting > Runtime Classes > ParticleAnimator Switch to Component   

ParticleAnimator.autodestruct  

var autodestruct : boolean

Description

Does the GameObject of this particle animator auto destructs?

When set to true, the GameObject will be destroyed when all particles disappear.