Property | Type | Description | |
---|---|---|---|
playerName | Text | ||
playerScoreBoard | Text[] | ||
scoreCanvas | Canvas |
Method | 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.
|
Method | Description | |
---|---|---|
Cmd_increaseScore ( int amount ) : void | ||
Start ( ) : void | ||
Update ( ) : void | ||
initializeScoreBoard ( ) : void |
public displayCanvas ( bool canvasStatus ) : void | ||
canvasStatus | bool | |
return | void |
public increaseTheScore ( int amount ) : void | ||
amount | int | Amount. |
return | void |
public increaseTheScore ( int amount, int targetPlayerNumber ) : void | ||
amount | int | Amount. |
targetPlayerNumber | int | |
return | void |