# Cancel()

> Cancel NavMesh construction.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.AI](/engine/6000.3/script-reference/unityeditor/ai.md)
* **Assembly:** UnityEditor

> **Warning:**
>
> **Deprecated.** UnityEditor NavMeshBuilder has been deprecated. Use UnityEngine.AI.NavMeshBuilder instead.

```csharp
public static void Cancel()
```

### Remarks

Available only at edit time.

Additional Resources: [NavMeshBuilder.BuildNavMeshAsync](/engine/6000.3/script-reference/unityeditor/ai/navmeshbuilder/buildnavmeshasync.md)
