Property | Type | Description | |
---|---|---|---|
CancelButton | string | ||
HorizontalInput | string | ||
Keys | List |
||
SubmitButton | string | ||
audioClips | List |
||
gameName | Text | ||
gamePanel | GameObject | ||
games | List |
||
networkManager | NetworkManager_Custom, | ||
playlist | List |
||
serverLink | ServerLink, |
Method | Description | |
---|---|---|
Start ( ) : void |
Get the initial information and set up the audio clip dictionary
|
|
Update ( ) : void |
Accept user input and play audio for as long as this object is displayed
|
Method | Description | |
---|---|---|
ClearGameList ( ) : void |
Resets the list of all the games
|
|
DisplayArrows ( ) : void |
Show/hide the arrows depending on number of games and current index
|
|
GetGameList ( ) : void |
Retrieves available games from server
|
|
PlayAudio ( ) : void |
Play the next audio if there is no other clips playing
|
|
ReadGameName ( ) : void |
Adds the appropriate clips to the playlist to read the name of the game out loud
|
|
RefreshGameList ( ) : void |
Updates the on-screen game list if there are games, hides the game list if not
|
|
ResetAudio ( ) : void |
Stops the audio and clears the playlist
|
|
ResetUI ( ) : void |
Reset the UI back to its original state
|
|
UpdateGameList ( object sender, EventArgs e ) : void |
When the games list has been changed, update the local game list
|
|
UserInput ( ) : void |
Check if the user has provided input and react accordingly
|
public NetworkManager_Custom, networkManager | ||
return | NetworkManager_Custom, |