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.