//<-- sc --> public GUIDropDownButton AddItemSub(GUIDropDownButtonConfig button) { GUIDropDownButton btn = AddButton(button.text, button.value, button.opensSub, button.callback); button.opensSub.Visible = false; button.opensSub.Parent = this; button.opensSub.Position = new UDim2(1, 0, Size.Y.Scale * ItemCount, Size.Y.Offset * ItemCount); return(btn); }
//<-- sc --> public GUIDropDownButton AddItem(GUIDropDownButtonConfig button) { return(AddButton(button.text, button.value, null, button.callback)); }