Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

NavMesh.GetSettingsNameFromID

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.

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