# generateLinks

> Enables the links generation for this object.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.AI](/engine/6000.5/script-reference/unityengine/ai.md)
* **Assembly:** UnityEngine.AIModule

```csharp
public bool generateLinks { get; set; }
```

### Remarks

When build sources are obtained using CollectSources, this value can be affected by using [NavMeshBuildMarkup](/engine/6000.5/script-reference/unityengine/ai/navmeshbuildmarkup.md). If this value is `true` and links parameters are valid in [NavMeshBuildSettings](/engine/6000.5/script-reference/unityengine/ai/navmeshbuildsettings.md) this source will be considered during links generation.
