Home
Manual
Reference
Scripting
Scripting Reference
NavMesh
.GetLayerCost
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
GetLayerCost (layer :
int
) :
float
Description
Gets the cost for traversing over geometry of the layer type on all agents.