Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


navMeshOwner

Returns the owning object of the NavMesh the agent is currently placed on.
Read time 1 minuteLast updated a day 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.