private void WaveSpawned(int difficulty, DifficultyIncrease difficultyIncrease)
 {
     if (difficultyIncrease.finalLevel)
     {
         animationPopComponent.StartAnimation();
     }
 }
Example #2
0
 private void IncreaseScore(HealthComponent victim)
 {
     score++;
     animationPopComponent.StartAnimation();
     UpdateUI();
 }
Example #3
0
 private void UpdateTargetPosition()
 {
     targetPos = Camera.main.ScreenToWorldPoint(Input.mousePosition);
     targetAnimation.gameObject.transform.position = targetPos;
     targetAnimation.StartAnimation();
 }
Example #4
0
 private void UpdateUI(int amount)
 {
     textComp.text = amount.ToString();
     animationPopComponent.StartAnimation();
 }