Best way is probably using navmesh and setting a destination for the character.
I'm assuming you're just starting out and pathfinding might seem a bit advanced right now, but you'll probably have to deal with it sooner or later unless your character will move without ever having to find its way around things.
edit:
Without pathfinding you could use Move Towards. In both cases the character needs a Character Controller, if I'm not mistaken.