ScrollRect Header

Header for the ScrollRect; visible when scrolled to the top.

Options

  • ScrollRect ScrollRect

    ScrollRect.

  • Block RectTransform

    Actual header block.

  • IsHorizontal bool

    ScrollRect direction.

  • DisplayType ScrollRectHeaderType

    Display type.

    • Reveal

      Show block when scrolled to the top and hide on scroll down.

    • Resize

      Resize block from current size at the top to the minimal size on scroll down.

  • MinSize float

    Minimal size of the header.