C# Класс JoinGameList, goalBall

Keeps track of all the games available to join and allows users to join them
Наследование: MonoBehaviour
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
CancelButton string
HorizontalInput string
Keys List
SubmitButton string
audioClips List
gameName Text
gamePanel GameObject
games List
networkManager NetworkManager_Custom,
playlist List
serverLink ServerLink,

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

Start() публичный Метод

Get the initial information and set up the audio clip dictionary
public Start ( ) : void
Результат void

Update() публичный Метод

Accept user input and play audio for as long as this object is displayed
public Update ( ) : void
Результат void

Описание свойств

CancelButton публичное свойство

public string CancelButton
Результат string

HorizontalInput публичное свойство

public string HorizontalInput
Результат string

Keys публичное свойство

public List Keys
Результат List

SubmitButton публичное свойство

public string SubmitButton
Результат string

audioClips публичное свойство

public List audioClips
Результат List

gameName публичное свойство

public Text gameName
Результат Text

gamePanel публичное свойство

public GameObject gamePanel
Результат GameObject

games публичное свойство

public List games
Результат List

networkManager публичное свойство

public NetworkManager_Custom, networkManager
Результат NetworkManager_Custom,

playlist публичное свойство

public List playlist
Результат List

serverLink публичное свойство

public ServerLink, serverLink
Результат ServerLink,