NavMesh.GetNavMeshLayerFromName Manual     Reference     Scripting  
Scripting > Runtime Classes > NavMesh
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.