Exemple #1
0
 static int GetDescendants(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         FairyGUI.Container obj = (FairyGUI.Container)ToLua.CheckObject <FairyGUI.Container>(L, 1);
         bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
         System.Collections.Generic.IEnumerator <FairyGUI.DisplayObject> o = obj.GetDescendants(arg0);
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }