Function NavmeshBase.DestroyNodes

DestroyNodes (List<MeshNode> nodes)

Destroy several nodes simultaneously.

Private Static
void DestroyNodes (

List<MeshNode>

nodes

)

Destroy several nodes simultaneously.

This is faster than simply looping through the nodes and calling the node.Destroy method because some optimizations relating to how connections are removed can be optimized.