C# 클래스 Referee, goalBall

파일 보기 프로젝트 열기: DrexelGoalBall/goalBall 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AS AudioSource
Keys List
audioClips List
playlist List
queue SyncListString

공개 메소드들

메소드 설명
Awake ( ) : void

Sets up certain object when the scene starts up.

PlayBallOver ( ) : void

Ref says: Ball Over.

PlayBlockedOut ( ) : void

Ref says: blocked out.

PlayBlueTeam ( ) : void

Ref says: blue team.

PlayCenter ( ) : void

Ref says: center.

PlayDeadBall ( ) : void

Ref says: dead ball.

PlayExtraThrows ( ) : void

Ref says: Extra throws.

PlayFifteenSeconds ( ) : void

Ref says: fifteen seconds.

PlayFinalScore ( ) : void

Ref says: final score.

PlayFoul ( ) : void

Ref says: foul.

PlayGame ( ) : void

Ref says: game.

PlayGameOver ( ) : void

Ref says: game over.

PlayGoal ( ) : void

Ref says: goal.

PlayHalfTime ( ) : void

Ref says: half time.

PlayLineOut ( ) : void

Ref says: Line Out.

PlayOfficialTimeOut ( ) : void

Ref says: official time out.

PlayOut ( ) : void

Ref says: Out.

PlayOvertime ( ) : void

Ref says: overtime.

PlayPenaltyDeclined ( ) : void

Ref says: Penalty Declined.

PlayPersonalPenalty ( ) : void

Ref says: personal penalty.

PlayPlay ( ) : void

Ref says: play.

PlayQuietPlease ( ) : void

Ref says: quiet please.

PlayRedTeam ( ) : void

Ref says: red team.

PlayReturnToMenu ( ) : void

Ref says: press throw button to return to menu.

PlayTime ( ) : void

Ref says: time.

PlayTimeOut ( ) : void

Ref says: time out.

PlayWins ( ) : void

Ref says: wins.

ReadScore ( int scoreToRead ) : void

Takes the current scores and announces them in audio.

Start ( ) : void

initializes the queue of strings.

Update ( ) : void

Manages the queue, and plays sounds that are listed in the queue.

refereeSpeaking ( ) : bool

Checks if the referee is currently speaking and returns a boolean.

비공개 메소드들

메소드 설명
AddClipStringToQueue ( string clipName ) : void

On the server, add this clip name to the queue and local playlist

OnStringChanged ( SyncListString op, int index ) : void

Adds string to the end of the queue.

메소드 상세

Awake() 공개 메소드

Sets up certain object when the scene starts up.
public Awake ( ) : void
리턴 void

PlayBallOver() 공개 메소드

Ref says: Ball Over.
public PlayBallOver ( ) : void
리턴 void

PlayBlockedOut() 공개 메소드

Ref says: blocked out.
public PlayBlockedOut ( ) : void
리턴 void

PlayBlueTeam() 공개 메소드

Ref says: blue team.
public PlayBlueTeam ( ) : void
리턴 void

PlayCenter() 공개 메소드

Ref says: center.
public PlayCenter ( ) : void
리턴 void

PlayDeadBall() 공개 메소드

Ref says: dead ball.
public PlayDeadBall ( ) : void
리턴 void

PlayExtraThrows() 공개 메소드

Ref says: Extra throws.
public PlayExtraThrows ( ) : void
리턴 void

PlayFifteenSeconds() 공개 메소드

Ref says: fifteen seconds.
public PlayFifteenSeconds ( ) : void
리턴 void

PlayFinalScore() 공개 메소드

Ref says: final score.
public PlayFinalScore ( ) : void
리턴 void

PlayFoul() 공개 메소드

Ref says: foul.
public PlayFoul ( ) : void
리턴 void

PlayGame() 공개 메소드

Ref says: game.
public PlayGame ( ) : void
리턴 void

PlayGameOver() 공개 메소드

Ref says: game over.
public PlayGameOver ( ) : void
리턴 void

PlayGoal() 공개 메소드

Ref says: goal.
public PlayGoal ( ) : void
리턴 void

PlayHalfTime() 공개 메소드

Ref says: half time.
public PlayHalfTime ( ) : void
리턴 void

PlayLineOut() 공개 메소드

Ref says: Line Out.
public PlayLineOut ( ) : void
리턴 void

PlayOfficialTimeOut() 공개 메소드

Ref says: official time out.
public PlayOfficialTimeOut ( ) : void
리턴 void

PlayOut() 공개 메소드

Ref says: Out.
public PlayOut ( ) : void
리턴 void

PlayOvertime() 공개 메소드

Ref says: overtime.
public PlayOvertime ( ) : void
리턴 void

PlayPenaltyDeclined() 공개 메소드

Ref says: Penalty Declined.
public PlayPenaltyDeclined ( ) : void
리턴 void

PlayPersonalPenalty() 공개 메소드

Ref says: personal penalty.
public PlayPersonalPenalty ( ) : void
리턴 void

PlayPlay() 공개 메소드

Ref says: play.
public PlayPlay ( ) : void
리턴 void

PlayQuietPlease() 공개 메소드

Ref says: quiet please.
public PlayQuietPlease ( ) : void
리턴 void

PlayRedTeam() 공개 메소드

Ref says: red team.
public PlayRedTeam ( ) : void
리턴 void

PlayReturnToMenu() 공개 메소드

Ref says: press throw button to return to menu.
public PlayReturnToMenu ( ) : void
리턴 void

PlayTime() 공개 메소드

Ref says: time.
public PlayTime ( ) : void
리턴 void

PlayTimeOut() 공개 메소드

Ref says: time out.
public PlayTimeOut ( ) : void
리턴 void

PlayWins() 공개 메소드

Ref says: wins.
public PlayWins ( ) : void
리턴 void

ReadScore() 공개 메소드

Takes the current scores and announces them in audio.
public ReadScore ( int scoreToRead ) : void
scoreToRead int
리턴 void

Start() 공개 메소드

initializes the queue of strings.
public Start ( ) : void
리턴 void

Update() 공개 메소드

Manages the queue, and plays sounds that are listed in the queue.
public Update ( ) : void
리턴 void

refereeSpeaking() 공개 메소드

Checks if the referee is currently speaking and returns a boolean.
public refereeSpeaking ( ) : bool
리턴 bool

프로퍼티 상세

AS 공개적으로 프로퍼티

public AudioSource AS
리턴 AudioSource

Keys 공개적으로 프로퍼티

public List Keys
리턴 List

audioClips 공개적으로 프로퍼티

public List audioClips
리턴 List

playlist 공개적으로 프로퍼티

public List playlist
리턴 List

queue 공개적으로 프로퍼티

public SyncListString queue
리턴 SyncListString