# Mode

> Set whether native memory leak detection should be enabled or disabled.

## Definition

* **Type:** Property
* **Namespace:** [Unity.Collections](/engine/6000.6/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static NativeLeakDetectionMode Mode { get; set; }
```
