文档

Unity Engine

Unity Engine

autodestruct

Does the GameObject of this Trail Renderer auto destruct?
阅读时间1 分钟最后更新于 1 个月前

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.