Beispiel #1
0
 public void DecreaseScore()
 {
     if (isVulnerable)
     {
         isVulnerable = false;
         InvokeRepeating("MakeVulnerable", 0.5f, 0);
         EmitScore(score.DecreaseScoreByVelocity(GetVelocity().magnitude));
     }
 }