Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetNavMeshLayerNames()

Get all the navmesh layer names.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
Warning
Deprecated. GetNavMeshLayerNames has been deprecated. Use NavMesh.GetAreaNames instead.
public static string[] GetNavMeshLayerNames()

Returns

Type

Description

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