-
Notifications
You must be signed in to change notification settings - Fork 0
NavMeshAgent Extensions
Andrzej Kebab edited this page Feb 2, 2024
·
1 revision
Checks if the NavMeshAgent has arrived at its destination.
bool hasArrived = navMeshAgent.IsArrive();Parameters:
-
{NavMeshAgent} agent: The NavMeshAgent instance.
Returns:
-
{bool}: Returns true if the agent is active, on the NavMesh, not pending a path, and within stopping distance of its destination. Returns false otherwise.