EditorGUIUtility.DrawColorSwatch

static function DrawColorSwatch (position : Rect, color : Color) : void

Parameters

NameDescription
position The rectangle to draw the color swatch within.
color The color to draw.

Description

Draw a color swatch.