Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Remove()

Removes this instance from the NavMesh system.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule
public void Remove()

Remarks

An identical but convenient alternative to calling NavMesh.RemoveNavMeshData. If the instance is not valid, e.g. has been removed before, the call has no effect.