C# Class JoinGameList, goalBall

Keeps track of all the games available to join and allows users to join them
Inheritance: MonoBehaviour
Afficher le fichier Open project: DrexelGoalBall/goalBall

Méthodes publiques

Свойство 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,

Méthodes publiques

Méthode 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

Private Methods

Méthode 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

Method Details

Start() public méthode

Get the initial information and set up the audio clip dictionary
public Start ( ) : void
Résultat void

Update() public méthode

Accept user input and play audio for as long as this object is displayed
public Update ( ) : void
Résultat void

Property Details

CancelButton public_oe property

public string CancelButton
Résultat string

HorizontalInput public_oe property

public string HorizontalInput
Résultat string

Keys public_oe property

public List Keys
Résultat List

SubmitButton public_oe property

public string SubmitButton
Résultat string

audioClips public_oe property

public List audioClips
Résultat List

gameName public_oe property

public Text gameName
Résultat Text

gamePanel public_oe property

public GameObject gamePanel
Résultat GameObject

games public_oe property

public List games
Résultat List

networkManager public_oe property

public NetworkManager_Custom, networkManager
Résultat NetworkManager_Custom,

playlist public_oe property

public List playlist
Résultat List

serverLink public_oe property

public ServerLink, serverLink
Résultat ServerLink,