C# Class ScoringController, ProjectButterfly

Inheritance: MonoBehaviour
Afficher le fichier Open project: JeroenRoos/ProjectButterfly Class Usage Examples

Méthodes publiques

Свойство Type Description
player GameObject
scoreUI TextMeshProUGUI

Méthodes publiques

Méthode Description
Start ( ) : void
UpdateScoreOnCoin ( int score ) : void
UpdateScoreOnMovement ( int score ) : void

Private Methods

Méthode Description
SetScoreText ( ) : void

Method Details

Start() public méthode

public Start ( ) : void
Résultat void

UpdateScoreOnCoin() public méthode

public UpdateScoreOnCoin ( int score ) : void
score int
Résultat void

UpdateScoreOnMovement() public méthode

public UpdateScoreOnMovement ( int score ) : void
score int
Résultat void

Property Details

player public_oe property

public GameObject player
Résultat GameObject

scoreUI public_oe property

public TextMeshProUGUI scoreUI
Résultat TextMeshProUGUI