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


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



                {
                    int _i = LuaAPI.xlua_tointeger(L, 2);
                    UnityEngine.Vector3[] _vectorPath = (UnityEngine.Vector3[])translator.GetObject(L, 3, typeof(UnityEngine.Vector3[]));

                    gen_to_be_invoked.Prepare(
                        _i,
                        _vectorPath);



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


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



                {
                    Pathfinding.AdvancedSmooth.Turn _turn; translator.Get(L, 2, out _turn);
                    System.Collections.Generic.List <UnityEngine.Vector3> _output = (System.Collections.Generic.List <UnityEngine.Vector3>)translator.GetObject(L, 3, typeof(System.Collections.Generic.List <UnityEngine.Vector3>));

                    gen_to_be_invoked.GetPath(
                        _turn,
                        _output);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
예제 #3
0
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    Pathfinding.AdvancedSmooth.MaxTurn gen_ret = new Pathfinding.AdvancedSmooth.MaxTurn();
                    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.AdvancedSmooth.MaxTurn constructor!"));
        }
예제 #4
0
        static int _m_OnTangentUpdate(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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



                {
                    gen_to_be_invoked.OnTangentUpdate(  );



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


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



                {
                    System.Collections.Generic.List <Pathfinding.AdvancedSmooth.Turn> _turnList = (System.Collections.Generic.List <Pathfinding.AdvancedSmooth.Turn>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List <Pathfinding.AdvancedSmooth.Turn>));

                    gen_to_be_invoked.TangentToPoint(_turnList);



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