Свойство | Type | Description | |
---|---|---|---|
playerName | Text | ||
playerScoreBoard | Text[] | ||
scoreCanvas | Canvas |
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.
|
Méthode | Description | |
---|---|---|
Cmd_increaseScore ( int amount ) : void | ||
Start ( ) : void | ||
Update ( ) : void | ||
initializeScoreBoard ( ) : void |
public displayCanvas ( bool canvasStatus ) : void | ||
canvasStatus | bool | |
Résultat | void |
public increaseTheScore ( int amount ) : void | ||
amount | int | Amount. |
Résultat | void |
public increaseTheScore ( int amount, int targetPlayerNumber ) : void | ||
amount | int | Amount. |
targetPlayerNumber | int | |
Résultat | void |