public bool isStopped ;

説明

This property holds the stop or resume condition of the NavMesh agent.

If set to True, the NavMesh agent's movement will be stopped along its current path. If set to False after the NavMesh agent has stopped, it will resume moving along its current path.