Remove()
Removes this instance from the game.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.AI
- Assembly: UnityEngine.AIModule
public void Remove()
Remarks
This method is an identical but convenient alternative to NavMesh.RemoveLink. If the instance is not valid, e.g. has already been removed, the call has no effect.
Additional Resources: NavMesh.AddLink, NavMesh.RemoveLink