How to calculate distance in meters?

Hi, i have a code to calculate the distance from one object to another, but not sure if this is in meters or what, how can i make this in meters to get an accurate calculation with all my objects?

Thanks!

…this is the code:

var other : Transform;
	if (other) {
		var dist = Vector3.Distance(other.position, transform.position);
		print ("Distance to other: " + dist);
	}

…and if the distance its messured from the origin of the object to the origin of the other object, how about to calculate from the collide side to the collide side of the other object for example?, just guessing…perhaps the better way its using raycast?..

The units in Unity can represent whatever you want. As long as you keep the units consistent throughout, which in your case would be 1 game unit = 1 meter, then you can use any standard of measurement you want. So, a standard Unity cube would be 1 meter x 1 meter x 1 meter, which you can use to eye measurements. So, scaling a humanoid to be about 2 cubes high would make them 2 meters high, or a bit over 6 feet.