Beispiel #1
0
        static int _m_CurvedNonuniform(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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



                {
                    System.Collections.Generic.List <UnityEngine.Vector3> _path = (System.Collections.Generic.List <UnityEngine.Vector3>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List <UnityEngine.Vector3>));

                    System.Collections.Generic.List <UnityEngine.Vector3> gen_ret = gen_to_be_invoked.CurvedNonuniform(
                        _path);
                    translator.Push(L, gen_ret);



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