EditorGUI.ColorField Manual     Reference     Scripting  
Scripting > Editor Classes > EditorGUI
EditorGUI.ColorField

static function ColorField (position : Rect, value : Color) : Color

static function ColorField (position : Rect, label : string, value : Color) : Color

static function ColorField (position : Rect, label : GUIContent, value : Color) : Color

Parameters

NameDescription
position Rectangle on the screen to use for the field.
label Optional label to display in front of the field.
value The color to edit.

Returns

Color - The color selected by the user.

Description

Make a field for selecting a Color.