navMeshOwner
Returns the owning object of the NavMesh the agent is currently placed on (Read Only).
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.AI
- Assembly: UnityEngine.AIModule
public Object navMeshOwner { get; }
Remarks
If no owner is set for a NavMesh or link instance the return value is null.
Additional Resources: NavMeshDataInstance.owner and NavMesh.GetLinkOwner.