Search Unity

Feature Request Add a callback when an agent reaches its destination

Discussion in 'Navigation' started by R-C137, Feb 8, 2023.

  1. R-C137

    R-C137

    Joined:
    Dec 8, 2019
    Posts:
    5
    As simple as the title says just add an "Action<NavMeshAgent> onDestinationReached" that is called when an agent reaches its destination. A boolean whether clear the onDestinationReached or not when a new destination is set would also be a nice addition
     
    Enderlook likes this.