Version: 2017.3

NavMesh.GetSettingsNameFromID

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

Parámetros

agentTypeID The 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.