Пример #1
0
 void Attack()
 {
     timer = 0f;
     if (playerHealth.currentInfection <= playerHealth.maxInfection)
     {
         playerHealth.AddInfection(attackDamage);
         enemyHealth.TakeDamage(1);
     }
 }