static int get_movementType(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UnityEngine.UI.LoopScrollRect obj = (UnityEngine.UI.LoopScrollRect)o;
            UnityEngine.UI.LoopScrollRect.MovementType ret = obj.movementType;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index movementType on a nil value"));
        }
    }
    static int set_movementType(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UnityEngine.UI.LoopScrollRect obj = (UnityEngine.UI.LoopScrollRect)o;
            UnityEngine.UI.LoopScrollRect.MovementType arg0 = (UnityEngine.UI.LoopScrollRect.MovementType)ToLua.CheckObject(L, 2, typeof(UnityEngine.UI.LoopScrollRect.MovementType));
            obj.movementType = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index movementType on a nil value"));
        }
    }