Ejemplo n.º 1
0
    Vector3 getNextPosition()
    {
        Vector3 targetDestination = movementBehavior.getTargetDestination();

        agent.SetDestination(targetDestination);
        return(agent.nextPosition);
    }