Version: 2017.2
public static void DrawRect (Rect rect, Color color);

Parameters

rect The position and size of the rectangle to draw.
color @param value Цвет для редактирования.

Description

Draws a filled rectangle of color at the specified position and size within the current editor window.