diff --git a/Assets/NaughtyAttributes/Scripts/Core/DrawerAttributes/DropdownAttribute.cs b/Assets/NaughtyAttributes/Scripts/Core/DrawerAttributes/DropdownAttribute.cs index 41be9f41..e995964f 100644 --- a/Assets/NaughtyAttributes/Scripts/Core/DrawerAttributes/DropdownAttribute.cs +++ b/Assets/NaughtyAttributes/Scripts/Core/DrawerAttributes/DropdownAttribute.cs @@ -22,6 +22,7 @@ public interface IDropdownList : IEnumerable> public class DropdownList : IDropdownList { private List> _values; + public int Count { get => _values.Count; } public DropdownList() {