static int AddX(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 2) { UnityEngine.Transform arg0 = (UnityEngine.Transform)ToLua.CheckObject <UnityEngine.Transform>(L, 1); float arg1 = (float)LuaDLL.luaL_checknumber(L, 2); TransformUtil.AddX(arg0, arg1); return(0); } else if (count == 3) { UnityEngine.Transform arg0 = (UnityEngine.Transform)ToLua.CheckObject <UnityEngine.Transform>(L, 1); float arg1 = (float)LuaDLL.luaL_checknumber(L, 2); bool arg2 = LuaDLL.luaL_checkboolean(L, 3); TransformUtil.AddX(arg0, arg1, arg2); return(0); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: TransformUtil.AddX")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int QPYX_AddX_YXQP(IntPtr L_YXQP) { try { int QPYX_count_YXQP = LuaDLL.lua_gettop(L_YXQP); if (QPYX_count_YXQP == 2) { UnityEngine.Transform QPYX_arg0_YXQP = (UnityEngine.Transform)ToLua.CheckObject <UnityEngine.Transform>(L_YXQP, 1); float QPYX_arg1_YXQP = (float)LuaDLL.luaL_checknumber(L_YXQP, 2); TransformUtil.AddX(QPYX_arg0_YXQP, QPYX_arg1_YXQP); return(0); } else if (QPYX_count_YXQP == 3) { UnityEngine.Transform QPYX_arg0_YXQP = (UnityEngine.Transform)ToLua.CheckObject <UnityEngine.Transform>(L_YXQP, 1); float QPYX_arg1_YXQP = (float)LuaDLL.luaL_checknumber(L_YXQP, 2); bool QPYX_arg2_YXQP = LuaDLL.luaL_checkboolean(L_YXQP, 3); TransformUtil.AddX(QPYX_arg0_YXQP, QPYX_arg1_YXQP, QPYX_arg2_YXQP); return(0); } else { return(LuaDLL.luaL_throw(L_YXQP, "invalid arguments to method: TransformUtil.AddX")); } } catch (Exception e_YXQP) { return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP)); } }