This version of Unity is unsupported.

RigidbodyConstraints2D.FreezePosition

Description

Freeze motion along the X-axis and Y-axis.