static int _m_SetTarget(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                Pathfinding.RVO.RVOController gen_to_be_invoked = (Pathfinding.RVO.RVOController)translator.FastGetCSObj(L, 1);



                {
                    UnityEngine.Vector3 _pos; translator.Get(L, 2, out _pos);
                    float _speed    = (float)LuaAPI.lua_tonumber(L, 3);
                    float _maxSpeed = (float)LuaAPI.lua_tonumber(L, 4);

                    gen_to_be_invoked.SetTarget(_pos, _speed, _maxSpeed);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
        static int _m_To3D(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                Pathfinding.RVO.RVOController gen_to_be_invoked = (Pathfinding.RVO.RVOController)translator.FastGetCSObj(L, 1);



                {
                    UnityEngine.Vector2 _p; translator.Get(L, 2, out _p);
                    float _elevationCoordinate = (float)LuaAPI.lua_tonumber(L, 3);

                    UnityEngine.Vector3 gen_ret = gen_to_be_invoked.To3D(_p, _elevationCoordinate);
                    translator.PushUnityEngineVector3(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
        static int _s_set_debug(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                Pathfinding.RVO.RVOController gen_to_be_invoked = (Pathfinding.RVO.RVOController)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.debug = LuaAPI.lua_toboolean(L, 2);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
        static int _s_set_obstacleTimeHorizon(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                Pathfinding.RVO.RVOController gen_to_be_invoked = (Pathfinding.RVO.RVOController)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.obstacleTimeHorizon = (float)LuaAPI.lua_tonumber(L, 2);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
        static int _g_get_center(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                Pathfinding.RVO.RVOController gen_to_be_invoked = (Pathfinding.RVO.RVOController)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.center);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(1);
        }
        static int _g_get_velocity(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                Pathfinding.RVO.RVOController gen_to_be_invoked = (Pathfinding.RVO.RVOController)translator.FastGetCSObj(L, 1);
                translator.PushUnityEngineVector3(L, gen_to_be_invoked.velocity);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(1);
        }
        static int _s_set_collidesWith(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                Pathfinding.RVO.RVOController gen_to_be_invoked = (Pathfinding.RVO.RVOController)translator.FastGetCSObj(L, 1);
                Pathfinding.RVO.RVOLayer      gen_value; translator.Get(L, 2, out gen_value);
                gen_to_be_invoked.collidesWith = gen_value;
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    Pathfinding.RVO.RVOController gen_ret = new Pathfinding.RVO.RVOController();
                    translator.Push(L, gen_ret);

                    return(1);
                }
            }
            catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(LuaAPI.luaL_error(L, "invalid arguments to Pathfinding.RVO.RVOController constructor!"));
        }
        static int _m_To2D(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                Pathfinding.RVO.RVOController gen_to_be_invoked = (Pathfinding.RVO.RVOController)translator.FastGetCSObj(L, 1);


                int gen_param_count = LuaAPI.lua_gettop(L);

                if (gen_param_count == 2 && translator.Assignable <UnityEngine.Vector3>(L, 2))
                {
                    UnityEngine.Vector3 _p; translator.Get(L, 2, out _p);

                    UnityEngine.Vector2 gen_ret = gen_to_be_invoked.To2D(
                        _p);
                    translator.PushUnityEngineVector2(L, gen_ret);



                    return(1);
                }
                if (gen_param_count == 3 && translator.Assignable <UnityEngine.Vector3>(L, 2))
                {
                    UnityEngine.Vector3 _p; translator.Get(L, 2, out _p);
                    float _elevation;

                    UnityEngine.Vector2 gen_ret = gen_to_be_invoked.To2D(
                        _p,
                        out _elevation);
                    translator.PushUnityEngineVector2(L, gen_ret);
                    LuaAPI.lua_pushnumber(L, _elevation);



                    return(2);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }

            return(LuaAPI.luaL_error(L, "invalid arguments to Pathfinding.RVO.RVOController.To2D!"));
        }
        static int _m_CalculateMovementDelta(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                Pathfinding.RVO.RVOController gen_to_be_invoked = (Pathfinding.RVO.RVOController)translator.FastGetCSObj(L, 1);


                int gen_param_count = LuaAPI.lua_gettop(L);

                if (gen_param_count == 2 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
                {
                    float _deltaTime = (float)LuaAPI.lua_tonumber(L, 2);

                    UnityEngine.Vector3 gen_ret = gen_to_be_invoked.CalculateMovementDelta(
                        _deltaTime);
                    translator.PushUnityEngineVector3(L, gen_ret);



                    return(1);
                }
                if (gen_param_count == 3 && translator.Assignable <UnityEngine.Vector3>(L, 2) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3))
                {
                    UnityEngine.Vector3 _position; translator.Get(L, 2, out _position);
                    float _deltaTime = (float)LuaAPI.lua_tonumber(L, 3);

                    UnityEngine.Vector3 gen_ret = gen_to_be_invoked.CalculateMovementDelta(
                        _position,
                        _deltaTime);
                    translator.PushUnityEngineVector3(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }

            return(LuaAPI.luaL_error(L, "invalid arguments to Pathfinding.RVO.RVOController.CalculateMovementDelta!"));
        }
        static int _m_Move(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                Pathfinding.RVO.RVOController gen_to_be_invoked = (Pathfinding.RVO.RVOController)translator.FastGetCSObj(L, 1);



                {
                    UnityEngine.Vector3 _vel; translator.Get(L, 2, out _vel);

                    gen_to_be_invoked.Move(_vel);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }