文档

Unity Engine

Unity Engine

generateLinks

Enables the links generation for this object.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Remarks

When build sources are obtained using CollectSources, this value can be affected by using NavMeshBuildMarkup. If this value is
true
and links parameters are valid in NavMeshBuildSettings this source will be considered during links generation.