ドキュメント

Unity Engine

Unity Engine

hasPath

Does the agent currently have a path? (Read Only)
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Remarks

This property will be true if the agent has a path calculated to the desired destination and false otherwise.