C# 클래스 JoinGameList, goalBall

Keeps track of all the games available to join and allows users to join them
상속: MonoBehaviour
파일 보기 프로젝트 열기: DrexelGoalBall/goalBall

공개 프로퍼티들

프로퍼티 타입 설명
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,