Click or drag to resize

CellViewsHolderInitWithExistingRootPrefab Method

Assigns the root, sets ItemIndex to -1 and calls CollectViews. Note that this uses an already-instantiated cell

root (by the parent group), as opposed to how Init(GameObject, Int32, Boolean, Boolean) works. This is because the group itself manages its cells and their layouting

Namespace:  Com.ForbiddenByte.OSA.CustomAdapters.GridView
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public virtual void InitWithExistingRootPrefab(
	RectTransform root
)

Parameters

root
Type: RectTransform
The cell's already-instantiated root (not the prefab, as it's done in Init(GameObject, Int32, Boolean, Boolean))
Version Information

Optimized ScrollView Adapter

Supported in: 4.1
See Also