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


                Pathfinding.AdvancedSmooth.TurnConstructor gen_to_be_invoked = (Pathfinding.AdvancedSmooth.TurnConstructor)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.PointToTangent(_turnList);



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