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