Esempio n. 1
0
 static int OnTwoTouch(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         GameResFactory obj  = (GameResFactory)ToLua.CheckObject(L, 1, typeof(GameResFactory));
         LuaFunction    arg0 = ToLua.CheckLuaFunction(L, 2);
         obj.OnTwoTouch(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }