Simple IAP System  5.0
Public Member Functions | Public Attributes | List of all members
IAPContainer

Stretches a container rect transform to include all children. Also repositions children using the GridLayoutGroup, if found. More...

Inheritance diagram for IAPContainer:

Public Member Functions

void CreateShopItems ()
 
void Reposition ()
 Executes the repositioning of UI elements within the grid layout. More...
 

Public Attributes

IAPCategory category
 
GameObject itemPrefab
 Prefab used for instantiating items from category. More...
 
int maxCellSizeX
 Maximum value for clamping the product vertically. More...
 
int maxCellSizeY
 Maximum value for clamping the product horizontally. More...
 

Detailed Description

Stretches a container rect transform to include all children. Also repositions children using the GridLayoutGroup, if found.

Member Function Documentation

void CreateShopItems ( )
void Reposition ( )

Executes the repositioning of UI elements within the grid layout.

Member Data Documentation

IAPCategory category

GameObject itemPrefab

Prefab used for instantiating items from category.

int maxCellSizeX

Maximum value for clamping the product vertically.

int maxCellSizeY

Maximum value for clamping the product horizontally.


The documentation for this class was generated from the following file: