文档

Unity Engine

Unity Engine

Remove()

Removes this instance from the NavMesh system.
阅读时间1 分钟最后更新于 1 个月前

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.