Example #1
0
 void AdjustVelocity()
 {
     if (score.GetScore() == scoreLimit)
     {
         accelerator.ChangeVelocity(gameObject, 20f);
         scoreLimit = scoreLimit + 1000;
     }
 }