Property | Type | Description | |
---|---|---|---|
player | GameObject | ||
scoreUI | TextMeshProUGUI |
Method | Description | |
---|---|---|
Start ( ) : void | ||
UpdateScoreOnCoin ( int score ) : void | ||
UpdateScoreOnMovement ( int score ) : void |
Method | Description | |
---|---|---|
SetScoreText ( ) : void |
public UpdateScoreOnCoin ( int score ) : void | ||
score | int | |
return | void |
public UpdateScoreOnMovement ( int score ) : void | ||
score | int | |
return | void |