Property | Type | Description | |
---|---|---|---|
currentGame | GameType | ||
gameTilePrefab | |||
mainGameScript | |||
resPacksNames | string[] |
Method | Description | |
---|---|---|
CreateResourcePacksIcons ( ) : void |
Creates the menu and loads resource packs.
|
|
GetMenuDimensions ( int elementsCount ) : int[] |
Calculates proper number of rows and columns in menu.
|
|
Start ( ) : void |
Get resource packs and create menu.
|
|
Update ( ) : void |
Wait for player to select menu item.
|
Method | Description | |
---|---|---|
DropOther ( |
COROUTINE. Not selected buttons fall down.
|
|
GetCustomResroucePacksCount ( ) : int |
Determines if there are any custom resource packs.
|
|
LoadCustomResourcePacks ( ) : IEnumerator |
Loads the custom resource packs from external files.
|
|
startGame ( |
Player selected resource pack. Set difficulty and start game itself and pass some parameters.
|
public GetMenuDimensions ( int elementsCount ) : int[] | ||
elementsCount | int | Elements count. |
return | int[] |
public GameObject,UnityEngine gameTilePrefab | ||
return |