예제 #1
0
 static int UIDestroyFunc(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 5);
         GameResFactory         obj  = (GameResFactory)ToLua.CheckObject(L, 1, typeof(GameResFactory));
         UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.GameObject));
         int         arg1            = (int)LuaDLL.luaL_checknumber(L, 3);
         LuaFunction arg2            = ToLua.CheckLuaFunction(L, 4);
         LuaFunction arg3            = ToLua.CheckLuaFunction(L, 5);
         obj.UIDestroyFunc(arg0, arg1, arg2, arg3);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }