public void GoToRandomPoint() { if (IsInteracting) { return; } Vector3 randomPoint = NavigationUtils.GetRandomPointOnNavMesh(transform.position, RandomWalkingRadius); ReachTargetChecker.OnDestinationReached = null; GoTo(randomPoint); }
public void GoToRandomPoint() { if (IsInteracting) { return; } Vector3 randomPoint = NavigationUtils.GetRandomPointOnNavMesh(transform.position, RandomWalkingRadius); ReachTargetChecker.OnDestinationReached = null; GoTo(randomPoint); }