Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

public var isOnNavMesh: bool;
public bool isOnNavMesh;

Description

Is the agent currently bound to the navmesh? (Read Only)

This property is true if the agent, for some reason, could not bind to the navmesh. E.g. if scene has no navmesh.