Rect.max

public Vector2 max;

Description 描述

The position of the maximum corner of the rectangle.

Setting this value will resize the rectangle, changing size to preserve min.