상속: PathModifier
예제 #1
0
    static int set_startEndModifier(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            Seeker obj = (Seeker)o;
            Pathfinding.StartEndModifier arg0 = (Pathfinding.StartEndModifier)ToLua.CheckObject <Pathfinding.StartEndModifier>(L, 2);
            obj.startEndModifier = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index startEndModifier on a nil value"));
        }
    }
예제 #2
0
    static int get_startEndModifier(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            Seeker obj = (Seeker)o;
            Pathfinding.StartEndModifier ret = obj.startEndModifier;
            ToLua.PushObject(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index startEndModifier on a nil value"));
        }
    }