Exemplo n.º 1
0
    public void GoToRandomPoint()
    {
        if (IsInteracting)
        {
            return;
        }
        Vector3 randomPoint = NavigationUtils.GetRandomPointOnNavMesh(transform.position, RandomWalkingRadius);

        ReachTargetChecker.OnDestinationReached = null;
        GoTo(randomPoint);
    }