PullToRefreshBehaviour Class |
Namespace: Com.ForbiddenByte.OSA.Util.PullToRefresh
public class PullToRefreshBehaviour : MonoBehaviour, IScrollRectProxy, IBeginDragHandler, IEventSystemHandler, IDragHandler, IEndDragHandler
The PullToRefreshBehaviour type exposes the following members.
| Name | Description | |
|---|---|---|
| PullToRefreshBehaviour |
| Name | Description | |
|---|---|---|
| GetContentSize | ||
| GetNormalizedPosition | ||
| GetViewportSize | ||
| HideGizmo | ||
| OnBeginDrag | ||
| OnDrag | ||
| OnEndDrag | ||
| SetNormalizedPosition | ||
| ShowGizmoIfNeeded | ||
| StopMovement |
| Name | Description | |
|---|---|---|
| ScrollPositionChanged | Not used in this default interface implementation |
| 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 | ||
| OnRefresh | ||
| OnRefreshWithSign |
| Name | Description | |
|---|---|---|
| GetContentSizeToViewportRatio | (Defined by IScrollRectProxyExtensions.) | |
| GetScrollableArea | (Defined by IScrollRectProxyExtensions.) |