NavMesh.GetNavMeshLayerFromName

static function GetNavMeshLayerFromName (layerName : String) : int

Description

Returns the layer index for a named layer.

If the named layer does not exist returns -1.