ChildSRIAViewsHolderInit 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:
frame8.ScrollRectItemsAdapter.NestedScrollViewsExample
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntaxpublic override void Init(
GameObject rootPrefabGO,
int itemIndex,
bool activateRootGameObject = true,
bool callCollectViews = true
)
Parameters
- rootPrefabGO
- Type: GameObject
- itemIndex
- Type: SystemInt32
- activateRootGameObject (Optional)
- Type: SystemBoolean
- callCollectViews (Optional)
- Type: SystemBoolean
Version InformationOptimized ScrollView Adapter
Supported in: 4.0, 3.0
See Also