GetScore() public method

public GetScore ( ) : float
return float
Esempio n. 1
0
 void Update()
 {
     if (s.GetScore() > SpeedUpScore)
     {
         SpeedUpScore = s.GetScore() + SpeedUpScore;
         this.speedUp();
         Debug.Log("speedup!");
     }
 }
Esempio n. 2
0
 // Update is called once per frame
 void Update()
 {
     if (score != null && score.GetScore(side_char) > curr_score)
     {
         curr_score++;
         Debug.Log("GOOOOAALLLLL! " + side_char + ": " + curr_score);
     }
 }