Click or drag to resize

GridParams Methods

The GridParams type exposes the following members.

Methods
  NameDescription
Protected methodCreateCellGroupPrefab
Public methodGetGroupHeight
Public methodGetGroupIndex
Public methodGetGroupPrefab
Returns the prefab to use as LayoutGroup for the group with index forGroupAtThisIndex
Public methodGetGroupWidth
Approximates the group width using the provided padding, spacing, cell prefab's width, and the NumCellsPerGroupHorizontally
Public methodGetNumberOfRequiredGroups
Public methodInitIfNeeded
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(ISRIA).)
Protected methodInitNonSerializedData
Public methodOnAfterDeserialize
Public methodOnBeforeSerialize
Top
See Also