This version of Unity is unsupported.

RigidbodyConstraints2D.FreezePositionY

Description

Freeze motion along the Y-axis.