public static Rect RectField(GUIContent label, Rect value, params GUILayoutOption[] options)
{
bool hasLabel = EditorGUI.LabelHasContent(label);
float propertyHeight = EditorGUI.GetPropertyHeight(SerializedPropertyType.Rect, label);
Rect position = s_LastRect = GetControlRect(hasLabel, propertyHeight, EditorStyles.numberField, options);
return EditorGUI.RectField(position, label, value);
}