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