NavMeshAgent.SetPath Manual     Reference     Scripting  
Scripting > Runtime Classes > NavMeshAgent
NavMeshAgent.SetPath

function SetPath (path : NavMeshPath) : boolean

Parameters

NameDescription
path New path to follow.

Returns

boolean - True if succesfully assigned.

Description

Assign path to the agent.