Measuring objects

Hi
I am looking for the code to allow our Unity end users to measure distances.
This could be the length of an object or perhaps the distance between objects.
Any advice would be gratefully recieved
Regards
andy

Vector3.Distance()