Exemplo n.º 1
0
 public static bool ReachedDestination(this NavMeshAgent nmAgent, float distanceTolerance)
 {
     return(nmAgent.GetRemainingDistance() < distanceTolerance);
 }