GridParams Class |
Base class for params to beused with a GridAdapterTParams, TCellVH
Namespace: Com.ForbiddenByte.OSA.CustomAdapters.GridView
[SerializableAttribute] public class GridParams : BaseParams
The GridParams type exposes the following members.
Name | Description | |
---|---|---|
GridParams |
Name | Description | |
---|---|---|
alignmentOfCellsInGroup | Obsolete. | |
cellHeightForceExpandInGroup | Obsolete. | |
cellPrefab | Obsolete. | |
CellPrefabLayoutElement | ||
cellWidthForceExpandInGroup | Obsolete. | |
CurrentUsedNumCellsPerGroup | ||
groupPadding | Obsolete. | |
MaxCellsPerGroup | Obsolete. | |
spacingInGroup | Obsolete. |
Name | Description | |
---|---|---|
CalculateCurrentNumCellsPerGroup | ||
CreateOrReinitCellGroupPrefab | ||
GetGroupIndex | ||
GetGroupPrefab | Returns the prefab to use as LayoutGroup for the group with index forGroupAtThisIndex | |
GetNumberOfRequiredGroups | ||
InitIfNeeded |
Called internally in Init and every time the scrollview's size changes.
This makes sure the content and viewport have valid values. It can also be overridden to initialize custom data
(Overrides BaseParamsInitIfNeeded(IOSA).) | |
MigrateFieldsToVersion4 | (Overrides BaseParamsMigrateFieldsToVersion4(ScrollRect, String, String).) |