Example #1
0
 static int DestroyUIByName(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         UISys  obj  = (UISys)ToLua.CheckObject(L, 1, typeof(UISys));
         string arg0 = ToLua.CheckString(L, 2);
         obj.DestroyUIByName(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }