Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


autodestruct

Does the GameObject of this Trail Renderer auto destruct?
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public bool autodestruct { get; set; }

Remarks

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