FairyGUI.GComboBox.UpdateDropdownList C# (CSharp) Method

UpdateDropdownList() public method

public UpdateDropdownList ( ) : void
return void
        public void UpdateDropdownList()
        {
            if (_itemsUpdated)
            {
                _itemsUpdated = false;
                RenderDropdownList();
                _list.ResizeToFit(visibleItemCount);
            }
        }

Usage Example

Ejemplo n.º 1
0
 static int UpdateDropdownList(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         FairyGUI.GComboBox obj = (FairyGUI.GComboBox)ToLua.CheckObject <FairyGUI.GComboBox>(L, 1);
         obj.UpdateDropdownList();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }