ChangeChildrenOrder() публичный Метод

public ChangeChildrenOrder ( List indice, List objs ) : void
indice List
objs List
Результат void
Пример #1
0
 static int ChangeChildrenOrder(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         FairyGUI.Container obj = (FairyGUI.Container)ToLua.CheckObject <FairyGUI.Container>(L, 1);
         System.Collections.Generic.IList <int> arg0 = (System.Collections.Generic.IList <int>)ToLua.CheckObject <System.Collections.Generic.IList <int> >(L, 2);
         System.Collections.Generic.IList <FairyGUI.DisplayObject> arg1 = (System.Collections.Generic.IList <FairyGUI.DisplayObject>)ToLua.CheckObject <System.Collections.Generic.IList <FairyGUI.DisplayObject> >(L, 3);
         obj.ChangeChildrenOrder(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Пример #2
0
 static public int ChangeChildrenOrder(IntPtr l)
 {
     try {
         FairyGUI.Container self = (FairyGUI.Container)checkSelf(l);
         System.Collections.Generic.List <System.Int32> a1;
         checkType(l, 2, out a1);
         System.Collections.Generic.List <FairyGUI.DisplayObject> a2;
         checkType(l, 3, out a2);
         self.ChangeChildrenOrder(a1, a2);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }