Version 2.1.0.0

ColorDrawer class

Namespace: Sirenix.OdinInspector.Editor.Drawers
Assembly: Sirenix.OdinInspector.Editor
public sealed class ColorDrawer : PrimitiveCompositeDrawer<Color>, IDefinesGenericMenuItems
Color property drawer.
Inheritance

Constructors

ColorDrawer()
public ColorDrawer()

Methods

DrawPropertyField(IPropertyValueEntry<Color>, GUIContent)
Draws the property.
protected override void DrawPropertyField(IPropertyValueEntry<Color> entry, GUIContent label)
Parameters
Sirenix.OdinInspector.Editor.IPropertyValueEntry<UnityEngine.Color> entry

UnityEngine.GUIContent label

Extension Methods