Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

NavMeshAgent.hasPath

Switch to Manual
public var hasPath: bool;

Description

Does the agent currently have a path? (Read Only)

This property will be true if the agent has a path calculated to the desired destination and false otherwise.

See Also: pathPending.