NavMeshAgent.Stop

function Stop (stopUpdates : boolean = false) : void

Parameters

NameDescription
stopUpdates If true, the GameObject is stopped immediately and not affected by the avoidance system.

Description

Stop movement of this agent along its current path.