Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RemoveLink(NavMeshLinkInstance)

Removes a link from the NavMesh.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule
public static void RemoveLink(NavMeshLinkInstance handle)

Parameters

The instance of a link to remove.

Remarks

Use the instance returned by NavMesh.AddLink to remove the corresponding link.
Additional Resources: NavMesh.RemoveAllNavMeshData