Пример #1
0
 private void Atack()
 {
     if (Input.GetKeyDown(KeyCode.K))
     {
         takeDamage.SubstractHP(damage);
     }
 }