C# Class TamPlayerScore, kaijurising

Inheritance: NetworkBehaviour
Afficher le fichier Open project: Moehammered/kaijurising Class Usage Examples

Méthodes publiques

Свойство Type Description
playerName Text
playerScoreBoard Text[]
scoreCanvas Canvas

Méthodes publiques

Méthode Description
displayCanvas ( bool canvasStatus ) : void
getPlayerNumber ( ) : int
increaseTheScore ( int amount ) : void

Increases the score for the player the script is attached to.

increaseTheScore ( int amount, int targetPlayerNumber ) : void

Increases the score of the player associated with the provided ID.

Private Methods

Méthode Description
Cmd_increaseScore ( int amount ) : void
Start ( ) : void
Update ( ) : void
initializeScoreBoard ( ) : void

Method Details

displayCanvas() public méthode

public displayCanvas ( bool canvasStatus ) : void
canvasStatus bool
Résultat void

getPlayerNumber() public méthode

public getPlayerNumber ( ) : int
Résultat int

increaseTheScore() public méthode

Increases the score for the player the script is attached to.
public increaseTheScore ( int amount ) : void
amount int Amount.
Résultat void

increaseTheScore() public méthode

Increases the score of the player associated with the provided ID.
public increaseTheScore ( int amount, int targetPlayerNumber ) : void
amount int Amount.
targetPlayerNumber int
Résultat void

Property Details

playerName public_oe property

public Text playerName
Résultat Text

playerScoreBoard public_oe property

public Text[] playerScoreBoard
Résultat Text[]

scoreCanvas public_oe property

public Canvas scoreCanvas
Résultat Canvas