EnumToggleButtonsAttributeDrawer<T>

Draws an enum in a horizontal button group instead of a dropdown.

namespace Sirenix.OdinInspector.Editor.Drawers
{
public class EnumToggleButtonsAttributeDrawer<T> : OdinAttributeDrawer<EnumToggleButtonsAttribute, T>
}

Requirements

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

Methods

Return Type Definition Description
bool CanDrawTypeFilter(Type) Returns true if the drawer can draw the type.
void DrawPropertyLayout(GUIContent) Draws the property.