| Parameter | Description |
|---|---|
| polygon | Identifier of the NavMesh node to be checked. |
Returns true if the node referenced by the specified PolygonId is active in the NavMesh.
You can make NavMesh nodes invalid when you remove the NavMesh surface or the links they belong to, or when you modify the NavMesh in their region, replacing them. You can remove the NavMesh surface and links with calls to NavMesh.RemoveNavMeshData, NavMesh.RemoveLink. To modify the NavMesh, call NavMeshBuilder.UpdateNavMeshData or use a NavMeshObstacle to carve it.
| Parameter | Description |
|---|---|
| location | Location on the NavMesh to be checked. Same as checking location.polygon directly. |
Returns true if the node referenced by the PolygonId contained in the NavMeshLocation is active in the NavMesh.