navMeshOwner
Returns the owning object of the NavMesh the agent is currently placed on (Read Only).
Read time 1 minuteLast updated 20 days ago
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.