GetSettingsNameFromID(int)
Returns the name associated with the NavMesh build settings matching the provided agent type ID.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: UnityEngine.AI
- Assembly: UnityEngine.AIModule
public static string GetSettingsNameFromID(int agentTypeID)
Parameters
The ID to look for.
Returns
Type | Description |
|---|---|
| string | The name associated with the ID found. |
Remarks
If no settings are found, the result is an empty string.