This version of Unity is unsupported.

Ray2D.direction

public Vector2 direction;

Description

The direction of the ray in world space.

See Also: origin.