Click or drag to resize

BaseParamsEffectsloopItems Field

If true: When the last item is reached, the first one appears after it, basically allowing you to scroll infinitely.

Initially intended for things like spinners, but it can be used for anything alike. It may interfere with other functionalities in some very obscure/complex contexts/setups, so be sure to test the hell out of it.

Also please note that sometimes during dragging the content, the actual looping changes the Unity's internal PointerEventData for the current click/touch pointer id,

so if you're also externally tracking the current click/touch, in this case only 'PointerEventData.pointerCurrentRaycast' and 'PointerEventData.position'(current position) are

preserved, the other ones are reset to defaults to assure a smooth loop transition

Namespace:  Com.ForbiddenByte.OSA.Core
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public bool loopItems

Field Value

Type: Boolean
Version Information

Optimized ScrollView Adapter

Supported in: 4.1
See Also