Documentation

Unity Engine


Unity Engine


isStopped

Use this property to set, or get, whether the NavMesh agent stops or continues its movement along the current path.
Read time 1 minuteLast updated a month ago

Definition

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

Remarks

If set to true, the NavMesh agent's movement stops along its current path. If set to false after the NavMesh agent has stopped, the NavMesh agent resumes its movement along the current path.