프로퍼티 | 타입 | 설명 | |
---|---|---|---|
currentGame | GameType | ||
gameTilePrefab | |||
mainGameScript | |||
resPacksNames | string[] |
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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. |
리턴 | int[] |