Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


autoRepath

Should the agent attempt to acquire a new path if the existing path becomes invalid?
Read time 1 minuteLast updated 12 days ago

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.