프로퍼티 | 타입 | 설명 | |
---|---|---|---|
columns | int | ||
correctPairsDisplay | |||
gameType | ResourcePackSil.GameType | ||
menu | |||
resourcePack | string | ||
resourcePackMenu | |||
rows | int | ||
scoreboard | |||
timerDisplay | |||
wrongPairsDisplay |
메소드 | 설명 | |
---|---|---|
CreateGameBoard ( ) : void | ||
CreateTimer ( ) : void |
Creates and starts timer.
|
|
FoundPair ( |
COROUTINE. Called when user selected two pictures which match.
|
|
NotFoundPair ( |
COROUTINE. Called when user selected two pictures which do not match.
|
|
Pick ( ) : void |
Randomly assigns pictures to planes.
|
|
Start ( ) : void |
Initialization. Creates all cubes and planes, sets their position etc.
|
|
TimerTick ( object o, System e ) : void |
Timer tick event method.
|
|
Update ( ) : void |
Infinite loop.
|
|
pictureMatch ( string tex1, string tex2 ) : bool |
Returns true, if two pictures should match.
|
public FoundPair ( |
||
first | First object | |
second | Second object | |
리턴 | IEnumerator |
public NotFoundPair ( |
||
first | First object | |
second | Second object | |
리턴 | IEnumerator |
public pictureMatch ( string tex1, string tex2 ) : bool | ||
tex1 | string | Picture 1 name |
tex2 | string | Picture 2 name |
리턴 | bool |
public GUIText,UnityEngine correctPairsDisplay | ||
리턴 |
public GameObject,UnityEngine resourcePackMenu | ||
리턴 |