文档

Unity Engine


Unity Engine


root

Use this to specify which GameObject (including the GameObject’s children) the markup should be applied to.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule
public Transform root { get; set; }

Remarks

This markup will be shared with the children of the
root
GameObject only if NavMeshBuildMarkup.applyToChildren is set to
true
.