static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    Pathfinding.GraphUpdateShape gen_ret = new Pathfinding.GraphUpdateShape();
                    translator.Push(L, gen_ret);

                    return(1);
                }
                if (LuaAPI.lua_gettop(L) == 5 && translator.Assignable <UnityEngine.Vector3[]>(L, 2) && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3) && translator.Assignable <UnityEngine.Matrix4x4>(L, 4) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5))
                {
                    UnityEngine.Vector3[] _points = (UnityEngine.Vector3[])translator.GetObject(L, 2, typeof(UnityEngine.Vector3[]));
                    bool _convex = LuaAPI.lua_toboolean(L, 3);
                    UnityEngine.Matrix4x4 _matrix; translator.Get(L, 4, out _matrix);
                    float _minimumHeight = (float)LuaAPI.lua_tonumber(L, 5);

                    Pathfinding.GraphUpdateShape gen_ret = new Pathfinding.GraphUpdateShape(_points, _convex, _matrix, _minimumHeight);
                    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.GraphUpdateShape constructor!"));
        }
        static int _s_set_minimumHeight(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

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

                Pathfinding.GraphUpdateShape gen_to_be_invoked = (Pathfinding.GraphUpdateShape)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.points = (UnityEngine.Vector3[])translator.GetObject(L, 2, typeof(UnityEngine.Vector3[]));
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
        static int _g_get_convex(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

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


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


                int gen_param_count = LuaAPI.lua_gettop(L);

                if (gen_param_count == 2 && translator.Assignable <PF.GraphNode>(L, 2))
                {
                    PF.GraphNode _node = (PF.GraphNode)translator.GetObject(L, 2, typeof(PF.GraphNode));

                    bool gen_ret = gen_to_be_invoked.Contains(
                        _node);
                    LuaAPI.lua_pushboolean(L, gen_ret);



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

                    bool gen_ret = gen_to_be_invoked.Contains(
                        _point);
                    LuaAPI.lua_pushboolean(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.GraphUpdateShape.Contains!"));
        }
        static int _m_GetBounds(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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



                {
                    UnityEngine.Bounds gen_ret = gen_to_be_invoked.GetBounds(  );
                    translator.PushUnityEngineBounds(L, gen_ret);



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