ReportProgress() public method

public ReportProgress ( int currentScore, int startScore, int endScore, bool lose ) : void
currentScore int
startScore int
endScore int
lose bool
return void
Example #1
0
 void UpdateUI(bool lose)
 {
     scoreBar.ReportProgress(score, startScore, targetScore, lose);
     scoreTextMesh.text = score.ToString("N0");
 }