Version: 2019.2

NavMesh.GetSettingsNameFromID

Switch to Manual
public static string GetSettingsNameFromID (int agentTypeID);

Parameters

agentTypeIDThe ID to look for.

Returns

string The name associated with the ID found.

Description

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

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