Version: 2018.2
public void Normalize ();

Description

Makes this vector have a magnitude of 1.

This method will change the current vector. To keep the current vector unchanged, use the normalized property.

Set to zero if the vector is too small to be normalized.

See Also: sqrMagnitude.