namespace Editor;
///
/// Abstract class to enable easily creating ControlWidgets with dropdowns.
///
public abstract class DropdownControlWidget : ControlWidget
{
public override bool SupportsMultiEdit => true;
public DropdownControlWidget( SerializedProperty property ) : base( property )
{
Layout = Layout.Row();
Cursor = CursorShape.Finger;
}
public struct Entry
{
public T Value { get; set; }
public string Label { get; set; }
public string Icon { get; set; }
public string Description { get; set; }
}
protected abstract IEnumerable