C# Class ScoringController, ProjectButterfly

Inheritance: MonoBehaviour
Mostrar archivo Open project: JeroenRoos/ProjectButterfly Class Usage Examples

Public Properties

Property Type Description
player GameObject
scoreUI TextMeshProUGUI

Public Methods

Method Description
Start ( ) : void
UpdateScoreOnCoin ( int score ) : void
UpdateScoreOnMovement ( int score ) : void

Private Methods

Method Description
SetScoreText ( ) : void

Method Details

Start() public method

public Start ( ) : void
return void

UpdateScoreOnCoin() public method

public UpdateScoreOnCoin ( int score ) : void
score int
return void

UpdateScoreOnMovement() public method

public UpdateScoreOnMovement ( int score ) : void
score int
return void

Property Details

player public_oe property

public GameObject player
return GameObject

scoreUI public_oe property

public TextMeshProUGUI scoreUI
return TextMeshProUGUI