Version: 5.4 beta (switch to 5.3)
LanguageEnglish
  • C#
  • JS

Script language

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

Obsolete
GetNavMeshAreaNames instead.

GameObjectUtility.GetNavMeshLayerNames

public static string[] GetNavMeshLayerNames();

Returns

string[] An array of the names of all navmesh layers.

Description

Get all the navmesh layer names.