文档

Unity Engine

Unity Engine

GetNavMeshLayerNames()

Get all the navmesh layer names.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
警告
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.