Click or drag to resize

OSATParams, TItemViewsHolderGetItemRealInsetFromParentStart Method

returns the REAL distance of the item's left (if scroll view is Horizontal) or top (if scroll view is Vertical) edge

from the parent's left (respectively, top) edge

Namespace:  Com.ForbiddenByte.OSA.Core
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public float GetItemRealInsetFromParentStart(
	RectTransform withRoot
)

Parameters

withRoot
Type: RectTransform

Return Value

Type: Single
Version Information

Optimized ScrollView Adapter

Supported in: 4.1
See Also