C# Class Referee, goalBall

Afficher le fichier Open project: DrexelGoalBall/goalBall Class Usage Examples

Méthodes publiques

Свойство Type Description
AS AudioSource
Keys List
audioClips List
playlist List
queue SyncListString

Méthodes publiques

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

Private Methods

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

Method Details

Awake() public méthode

Sets up certain object when the scene starts up.
public Awake ( ) : void
Résultat void

PlayBallOver() public méthode

Ref says: Ball Over.
public PlayBallOver ( ) : void
Résultat void

PlayBlockedOut() public méthode

Ref says: blocked out.
public PlayBlockedOut ( ) : void
Résultat void

PlayBlueTeam() public méthode

Ref says: blue team.
public PlayBlueTeam ( ) : void
Résultat void

PlayCenter() public méthode

Ref says: center.
public PlayCenter ( ) : void
Résultat void

PlayDeadBall() public méthode

Ref says: dead ball.
public PlayDeadBall ( ) : void
Résultat void

PlayExtraThrows() public méthode

Ref says: Extra throws.
public PlayExtraThrows ( ) : void
Résultat void

PlayFifteenSeconds() public méthode

Ref says: fifteen seconds.
public PlayFifteenSeconds ( ) : void
Résultat void

PlayFinalScore() public méthode

Ref says: final score.
public PlayFinalScore ( ) : void
Résultat void

PlayFoul() public méthode

Ref says: foul.
public PlayFoul ( ) : void
Résultat void

PlayGame() public méthode

Ref says: game.
public PlayGame ( ) : void
Résultat void

PlayGameOver() public méthode

Ref says: game over.
public PlayGameOver ( ) : void
Résultat void

PlayGoal() public méthode

Ref says: goal.
public PlayGoal ( ) : void
Résultat void

PlayHalfTime() public méthode

Ref says: half time.
public PlayHalfTime ( ) : void
Résultat void

PlayLineOut() public méthode

Ref says: Line Out.
public PlayLineOut ( ) : void
Résultat void

PlayOfficialTimeOut() public méthode

Ref says: official time out.
public PlayOfficialTimeOut ( ) : void
Résultat void

PlayOut() public méthode

Ref says: Out.
public PlayOut ( ) : void
Résultat void

PlayOvertime() public méthode

Ref says: overtime.
public PlayOvertime ( ) : void
Résultat void

PlayPenaltyDeclined() public méthode

Ref says: Penalty Declined.
public PlayPenaltyDeclined ( ) : void
Résultat void

PlayPersonalPenalty() public méthode

Ref says: personal penalty.
public PlayPersonalPenalty ( ) : void
Résultat void

PlayPlay() public méthode

Ref says: play.
public PlayPlay ( ) : void
Résultat void

PlayQuietPlease() public méthode

Ref says: quiet please.
public PlayQuietPlease ( ) : void
Résultat void

PlayRedTeam() public méthode

Ref says: red team.
public PlayRedTeam ( ) : void
Résultat void

PlayReturnToMenu() public méthode

Ref says: press throw button to return to menu.
public PlayReturnToMenu ( ) : void
Résultat void

PlayTime() public méthode

Ref says: time.
public PlayTime ( ) : void
Résultat void

PlayTimeOut() public méthode

Ref says: time out.
public PlayTimeOut ( ) : void
Résultat void

PlayWins() public méthode

Ref says: wins.
public PlayWins ( ) : void
Résultat void

ReadScore() public méthode

Takes the current scores and announces them in audio.
public ReadScore ( int scoreToRead ) : void
scoreToRead int
Résultat void

Start() public méthode

initializes the queue of strings.
public Start ( ) : void
Résultat void

Update() public méthode

Manages the queue, and plays sounds that are listed in the queue.
public Update ( ) : void
Résultat void

refereeSpeaking() public méthode

Checks if the referee is currently speaking and returns a boolean.
public refereeSpeaking ( ) : bool
Résultat bool

Property Details

AS public_oe property

public AudioSource AS
Résultat AudioSource

Keys public_oe property

public List Keys
Résultat List

audioClips public_oe property

public List audioClips
Résultat List

playlist public_oe property

public List playlist
Résultat List

queue public_oe property

public SyncListString queue
Résultat SyncListString