The AStar C# component implements the A* path finding algorithm. You can use it to search for the best path between 2 points on a 2D map defining terrain costs for each map cell.