This version of Unity is unsupported.

SliderJoint2D.angle

Switch to Manual
public float angle;

Description

The angle of the line in space (in degrees).

The line along which the joint can slide is specified by its world angle and optionally by endpoint limits along its length.

See Also: limits.