public bool autodestruct ;

Description

Does the GameObject of this Trail Renderer auto destruct?

When set to true, the GameObject will be destroyed when all its points have been removed.