Skip to content

format

typescript
NavMeshAgent.path

class: NavMeshAgent

description

Get a path from the agent's current position to the agent's destination.

parameter

param_nametypedescription

reture

typedescription
NavMeshPathA path from the agent's current position to the agent's destination.

code example