Click or drag to resize

ChildAdapterViewsHolderInit Method

Instantiates rootPrefabGO, assigns it to root and sets its itemIndex to itemIndex. Activates the new instance if activateRootGameObject is true. Also calls CollectViews if callCollectViews is true

Namespace:  Com.ForbiddenByte.OSA.Demos.NestedScrollViews
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public override void Init(
	GameObject rootPrefabGO,
	RectTransform parent,
	int itemIndex,
	bool activateRootGameObject = true,
	bool callCollectViews = true
)

Parameters

rootPrefabGO
Type: GameObject
parent
Type: RectTransform
itemIndex
Type: SystemInt32
activateRootGameObject (Optional)
Type: SystemBoolean
callCollectViews (Optional)
Type: SystemBoolean
Version Information

Optimized ScrollView Adapter

Supported in: 4.3
See Also