isOnOffMeshLink
Is the agent currently positioned on an OffMeshLink? (Read Only)
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine.AI
- Assembly: UnityEngine.AIModule
public bool isOnOffMeshLink { get; }
Remarks
This property is useful when NavMeshAgent.autoTraverseOffMeshLink is false and custom movement is needed when crossing the link.
Additional Resources: NavMeshAgent.autoTraverseOffMeshLink, NavMeshAgent.CompleteOffMeshLink.