ScrollWithInput

Class in Zigurous.UI

Declaration

public class ScrollWithInput : MonoBehaviour

Description

Handles scrolling a ScrollRect component with user input. This is especially useful for controller support.

Properties

scrollRectThe ScrollRect component being scrolled (Read only).
sensitivityThe sensitivity multiplier applied to the input.
directionThe direction to scroll the ScrollRect.