Need Some Help About Quick Path Find

Is there any method to check the two node has a path and get the cost ? I use the PathUtilities.IsPathPossible(start, end) to check the path, but how can i get the path cost. I want to get the result immediately.
Any help is greatly appreciated!

Something like this should work:

var path = ABPath.Construct(start, end);
AstarPath.StartPath(path);
path.BlockUntilCalculated();
Debug.Log(path.GetTotalLength());

Thanks, I forget the simple way even I just check the document, really thanks :joy: :joy: :joy: