void Attack() { timer = 0f; if (playerHealth.currentInfection <= playerHealth.maxInfection) { playerHealth.AddInfection(attackDamage); enemyHealth.TakeDamage(1); } }