Ejemplo n.º 1
0
 // Update is called once per frame
 void Update()
 {
     if (brickGoal - bricksDestroyed <= 0)
     {
         level.levelIncrement();
         gameManagerScript.resetBoard();
         Remaining.resetTimeRemaining();
         bricksDestroyed = 0;
         brickGoal      += (int)(brickGoal / 100) * percentIncrease;
     }
     score.text = (brickGoal - bricksDestroyed).ToString();
 }