Home
Manual
Reference
Scripting
Scripting Reference
Switch to Component
NavMeshAgent
.remainingDistance
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Attributes
Enumerations
History
Index
NavMeshAgent
All Members
Variables
acceleration
angularSpeed
autoRepath
autoTraverseOffMeshLink
avoidancePriority
baseOffset
currentOffMeshLinkData
desiredVelocity
destination
hasPath
height
isOnOffMeshLink
isPathStale
nextOffMeshLinkData
nextPosition
obstacleAvoidanceType
path
pathPending
pathStatus
radius
remainingDistance
speed
steeringTarget
stoppingDistance
updatePosition
updateRotation
velocity
walkableMask
Functions
ActivateCurrentOffMeshLink
CalculatePath
CompleteOffMeshLink
FindClosestEdge
GetLayerCost
Move
Raycast
ResetPath
Resume
SamplePathPosition
SetDestination
SetLayerCost
SetPath
Stop
Inherited Variables
animation
audio
camera
collider
constantForce
enabled
gameObject
guiText
guiTexture
hideFlags
hingeJoint
light
name
networkView
particleEmitter
particleSystem
renderer
rigidbody
tag
transform
Inherited Functions
BroadcastMessage
CompareTag
GetComponent
GetComponentInChildren
GetComponents
GetComponentsInChildren
GetInstanceID
SendMessage
SendMessageUpwards
ToString
Inherited Class Functions
Destroy
DestroyImmediate
DontDestroyOnLoad
FindObjectOfType
FindObjectsOfType
Instantiate
operator !=
operator ==
operator bool
var
remainingDistance :
float
Description
Remaining distance along the current path - or infinity when not known.
(Read Only)