This version of Unity is unsupported.

RectInt.size

public Vector2Int size;

Description

Returns the width and height of the RectInt.