文档

Unity Engine

Unity Engine

autoRepath

Should the agent attempt to acquire a new path if the existing path becomes invalid?
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Remarks

A new path calculation is also attempted aquired if the agent reaches the end of a partial and stale path.