Click or drag to resize

ScrollRectItemsAdapter8TParams, TItemViewsHolderGetItemWidth Method

Only called for horizontal ScrollRects

Namespace:  frame8.Logic.Misc.Visual.UI.ScrollRectItemsAdapter
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
protected abstract float GetItemWidth(
	int index
)

Parameters

index
Type: SystemInt32
the element's index in your dataset

Return Value

Type: Single
The width to be allocated for its visual representation in the view
Version Information

Optimized ScrollView Adapter

Supported in: 2.5.2
See Also