static int logError(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (TypeChecker.CheckTypes <UnityEngine.Object, object>(L, 1) && TypeChecker.CheckParamsType <object>(L, 3, count - 2)) { UnityEngine.Object arg0 = (UnityEngine.Object)ToLua.ToObject(L, 1); object arg1 = ToLua.ToVarObject(L, 2); object[] arg2 = ToLua.ToParamsObject(L, 3, count - 2); LogProxy.logError(arg0, arg1, arg2); return(0); } else if (TypeChecker.CheckTypes <object>(L, 1) && TypeChecker.CheckParamsType <object>(L, 2, count - 1)) { object arg0 = ToLua.ToVarObject(L, 1); object[] arg1 = ToLua.ToParamsObject(L, 2, count - 1); LogProxy.logError(arg0, arg1); return(0); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: LogProxy.logError")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }