ドキュメント

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.
読み終わるまでの所要時間 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.