CAbstractViewsHolder Methods |
The CAbstractViewsHolder type exposes the following members.
| Name | Description | |
|---|---|---|
| CollectViews | If instead of calling Init(GameObject, Int32, Boolean, Boolean), the initializaton is done manually, this should be called lastly as part of the initialization phase | |
| Init(GameObject, Int32, Boolean, Boolean) |
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
| |
| Init(RectTransform, Int32, Boolean, Boolean) | ||
| MarkForRebuild |
Make sure to override this when you have children layouts (for example, a [Vertical/Horizontal/Grid]LayoutGroup) and call MarkLayoutForRebuild(RectTransform) for them. Base's implementation should still be called!
|