static int ChangeChildrenOrder(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); FairyGUI.GComponent obj = (FairyGUI.GComponent)ToLua.CheckObject <FairyGUI.GComponent>(L, 1); System.Collections.Generic.IList <FairyGUI.GObject> arg0 = (System.Collections.Generic.IList <FairyGUI.GObject>)ToLua.CheckObject <System.Collections.Generic.IList <FairyGUI.GObject> >(L, 2); obj.ChangeChildrenOrder(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }