# GetSettingsNameFromID(int)

> Returns the name associated with the NavMesh build settings matching the provided agent type ID.

## Definition

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

```csharp
public static string GetSettingsNameFromID(int agentTypeID)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The ID to look for.

### Returns

| Type                                                           | Description                            |
| -------------------------------------------------------------- | -------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | The name associated with the ID found. |

### Remarks

If no settings are found, the result is an empty string.
