This version of Unity is unsupported.

Rect.yMax

public float yMax;

Description

The maximum Y coordinate of the rectangle.

Setting this value will change height to preserve yMin.