NavMesh.GetSettingsNameFromID

Declaration

public static string GetSettingsNameFromID(int agentTypeID);

Parameters

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


Did you find this page useful? Please give it a rating: