Q:

How to draw a NavMesh Path to a destination without traversing the path in Unity3d?

I have a set of pre-determined destinations. When the user chooses any one of those destinations, the path to the destination should be drawn, similiar to google maps. I am trying to do this in unity, but not able to figure out just how.

A:

You can use LineRenderer component that Unity provides. Attach it to the the appropriate GameObject, set the parameters of it in order to visualise the line however you desire and use the following code:
private Vector3[] wayPoints; //You have to set these waypoints before you start to use LineRenderer.
private LineRenderer lineRenderer;

void Start()
{
    lineRenderer = GetComponent<LineRenderer>();
    lineRenderer.positionCount = wayPoints.Length;
    for (int i = 0; i < wayPoints.Length; i++)
    {
        lineRenderer.SetPosition(i, wayPoints[i]);
    }
} 

You might want to check the manual out as well.

