NavMesh.GetNavMeshLayerFromName
static function GetNavMeshLayerFromName(layerName: string): int;
static int GetNavMeshLayerFromName(string layerName);
static def GetNavMeshLayerFromName(layerName as string) as int
Description

Returns the layer index for a named layer.

If the named layer does not exist returns -1.