format
typescript
NavMeshPath.stateclass: NavMeshPath
description
The state of the path from the current position of the NavMeshAgent to the destination. If the state is PathComplete, the returned path is a complete path from the agent's current position to the destination. If the state is PathInvalid, the returned path is a partial path, which could be due to the path being too long or there being no reachable path from the agent to the destination. If the state is PathPartial, it means that the agent's initial position is not on the navigation mesh, or the set destination is not on the navigation mesh, or there is some other unpathable state.
parameter
| param_name | type | description |
|---|
reture
| type | description |
|---|---|
NavMeshPathStatus | The state of the path from the current position of the NavMeshAgent to the destination. |
