isStopped
Use this property to set, or get, whether the NavMesh agent stops or continues its movement along the current path.
阅读时间1 分钟最后更新于 1 个月前
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.