FairyGUI.GComboBox.RenderDropdownList C# (CSharp) Method

RenderDropdownList() protected method

protected RenderDropdownList ( ) : void
return void
        protected virtual void RenderDropdownList()
        {
            _list.RemoveChildrenToPool();
            int cnt = _items.Length;
            for (int i = 0; i < cnt; i++)
            {
                GObject item = _list.AddItemFromPool();
                item.text = _items[i];
                item.icon = (_icons != null && i < _icons.Length) ? _icons[i] : null;
                item.name = i < _values.Length ? _values[i] : string.Empty;
            }
        }