ColorUsageAttributeDrawer

Draws Color properties marked with ColorUsageAttribute.

namespace Sirenix.OdinInspector.Editor.Drawers
{
[Sirenix.OdinInspector.Editor.OdinDrawerAttribute]
public sealed class ColorUsageAttributeDrawer : OdinAttributeDrawer<ColorUsageAttribute, Color>, Sirenix.OdinInspector.Editor.IDefinesGenericMenuItems
}

Requirements

Namespace: Sirenix.OdinInspector.Editor.Drawers
Assembly: Sirenix.OdinInspector
Version: 1.0.6.1

Methods

Return Type Definition Description
void DrawPropertyLayout(IPropertyValueEntry<Color>, ColorUsageAttribute, GUIContent) Draws the property.