I know this has been answered before, but wonder if there is a more up-to-date answer.
For my agent, I am using Unity’s Character Controller, along with Seeker and AIPath. And I am using a simple Grid Graph.
I start the navigation by simply setting
agent.destination = destination. Whenever the agent gets within a certain distance from the destination, I would like to totally cancel this navigation, and stop the agent completely (as it has “run out of fuel”). I know there are various ways to do this, but what is the best/recommended way?