NavMesh.GetSettingsNameFromID

Cambiar al Manual
public static string GetSettingsNameFromID (int agentTypeID);

Parámetros

agentTypeIDThe ID to look for.

Valor de retorno

string The name associated with the ID found.

Descripción

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.