TrailRenderer.autodestruct Manual     Reference     Scripting  
Scripting > Runtime Classes > TrailRenderer
TrailRenderer.autodestruct

var autodestruct : boolean

Description

Does the GameObject of this trail renderer auto destructs?

When set to true, the GameObject will be destroyed when it is not moving anymore.