PullToRefreshBehaviour Class |
Namespace: frame8.ScrollRectItemsAdapter.Util.PullToRefresh
public class PullToRefreshBehaviour : MonoBehaviour, IBeginDragHandler, IEventSystemHandler, IDragHandler, IEndDragHandler, IScrollRectProxy
The PullToRefreshBehaviour type exposes the following members.
| Name | Description | |
|---|---|---|
| PullToRefreshBehaviour |
| Name | Description | |
|---|---|---|
| GetContentSize | ||
| GetNormalizedPosition | ||
| HideGizmo | ||
| OnBeginDrag | ||
| OnDrag | ||
| OnEndDrag | ||
| SetNormalizedPosition | ||
| ShowGizmo |
| Name | Description | |
|---|---|---|
| ScrollPositionChanged | Not used |
| Name | Description | |
|---|---|---|
| externalScrollRectProxy |
Will be retrieved from the scrollrect. If not found, it can be assigned anytime before the first Update.
If not assigned, a default proxy will be used. The purpose of this is to allow custom implementations of ScrollRect to be used
| |
| OnPullProgress | Unity event (editable in inspector) fired when each frame the click/finger is dragged after it has touched the ScrollRect | |
| OnRefresh | Unity event (editable in inspector) fired when the refresh occurred |