Свойство | Type | Description | |
---|---|---|---|
columns | int | ||
correctPairsDisplay | |||
currentGame | GameType | ||
customPack | System.Boolean | ||
enableSound | bool | ||
gameTilePrefab | |||
menu | |||
resourcePack | string | ||
resourcePackMenu | |||
rows | int | ||
scoreb | |||
timerDisplay | |||
wrongPairsDisplay |
Méthode | Description | |
---|---|---|
AddCustomPicturesToGameTiles ( ) : IEnumerator |
Randomly assigns pictures from custom resource pack to game tiles.
|
|
AddPicturesToGameTiles ( ) : void |
Randomly assigns pictures to game tiles.
|
|
CreateGameBoard ( ) : void |
Initialization. Creates all cubes and planes, sets their position etc.
|
|
FoundPairPexeso ( |
COROUTINE. Called when user selected two matching pictures
|
|
FoundPairSilhouette ( |
COROUTINE. Called when user selected two pictures which match.
|
|
NotFoundPairPexeso ( |
COROUTINE. Called when user selected two tiles which different pictures
|
|
NotFoundPairSilhouette ( |
COROUTINE. Called when user selected two pictures which do not match.
|
|
RestartGame ( ) : IEnumerator |
Restarts the game.
|
|
Update ( ) : void |
Infinite loop. Updates game time and launches specific game turn.
|
|
checkTilesMatch ( |
Returns true if pictures of given tiles are matching.
|
Méthode | Description | |
---|---|---|
EndGame ( ) : void |
Game ended. Play winning music, stop timer, etc.
|
|
PexesoGameTurn ( ) : void |
Game turn of Pexeso. Calculates clicking on tiles, matching of pairs, starting game tile flip and remove coroutines.
|
|
SilhouetteGameTurn ( ) : void |
Game turn of Silhouette or Similarities. Calculates clicking on tiles, matching of pairs, starting game tile move and remove coroutines.
|
public AddCustomPicturesToGameTiles ( ) : IEnumerator | ||
Résultat | IEnumerator |
public FoundPairPexeso ( |
||
first | First object | |
second | Second object | |
Résultat | IEnumerator |
public FoundPairSilhouette ( |
||
first | First object | |
second | Second object | |
Résultat | IEnumerator |
public NotFoundPairPexeso ( |
||
first | First game tile | |
second | Second game tile | |
Résultat | IEnumerator |
public NotFoundPairSilhouette ( |
||
first | First object | |
second | Second object | |
Résultat | IEnumerator |
public checkTilesMatch ( |
||
first | ||
second | ||
Résultat | bool |
public GUIText,UnityEngine correctPairsDisplay | ||
Résultat |
public GameObject,UnityEngine gameTilePrefab | ||
Résultat |
public GameObject,UnityEngine resourcePackMenu | ||
Résultat |
public GUIText,UnityEngine timerDisplay | ||
Résultat |