Class ScrollRectPool
A pooling component for large scroll rects Does enable and disable scroll elements regarding the position of scroll Currently only works in vertical
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.Industrial.Configuring.RuntimeUI
Syntax
[RequireComponent(typeof(ScrollRect))]
public class ScrollRectPool : MonoBehaviour, IBeginDragHandler, IEndDragHandler, IPointerDownHandler, IDragHandler, IScrollHandler, IEventSystemHandler
Properties
searchPanel
Gets the search panel.
Declaration
public ProductSearchPanel searchPanel { get; }
Property Value
Type | Description |
---|---|
ProductSearchPanel | The search panel. |
Methods
OnBeginDrag(PointerEventData)
Called when [begin drag].
Declaration
public void OnBeginDrag(PointerEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
PointerEventData | eventData | The event data. |
Implements
OnDrag(PointerEventData)
Called when [drag].
Declaration
public void OnDrag(PointerEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
PointerEventData | eventData | The event data. |
Implements
OnEndDrag(PointerEventData)
Called when [end drag].
Declaration
public void OnEndDrag(PointerEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
PointerEventData | eventData | The event data. |
Implements
OnPointerDown(PointerEventData)
Called when [pointer down].
Declaration
public void OnPointerDown(PointerEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
PointerEventData | eventData | The event data. |
Implements
OnScroll(PointerEventData)
Called when [scroll].
Declaration
public void OnScroll(PointerEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
PointerEventData | eventData | The event data. |