Home
Manual
Reference
Scripting
Scripting Reference
NavMesh
.GetNavMeshLayerFromName
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Attributes
Enumerations
History
Index
NavMesh
All Members
Class Functions
CalculatePath
FindClosestEdge
GetLayerCost
GetNavMeshLayerFromName
Raycast
SamplePosition
SetLayerCost
Inherited Variables
hideFlags
name
Inherited Functions
GetInstanceID
ToString
Inherited Class Functions
Destroy
DestroyImmediate
DontDestroyOnLoad
FindObjectOfType
FindObjectsOfType
Instantiate
operator !=
operator ==
operator bool
static
function
GetNavMeshLayerFromName (layerName :
String
) :
int
Description
Returns the layer index for a named layer.
If the named layer does not exist returns -1.