public float magnitude ;

Description

Returns the length of this vector (Read Only).

Длина vector'a это квадратный корень из (х*х+у*Y+Z*Z).

If you only need to compare magnitudes of some vectors, you can compare squared magnitudes of them using sqrMagnitude (computing squared magnitudes is faster).

See Also: sqrMagnitude.