GetNavMeshLayerFromName(string)
Get the navmesh layer from the layer name.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static int GetNavMeshLayerFromName(string name)
Parameters
The name of the navmesh layer.
Returns
Type | Description |
|---|---|
| int | The layer number of the navmesh layer name specified. |