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