EditorGUIUtility.DrawColorSwatch Manual     Reference     Scripting  
Scripting > Editor Classes > EditorGUIUtility
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.