Пример #1
0
 public void hitPlayer(UnitHealth uh)
 {
     if (!hittingPlayerThisFrame)
     {
         hittingPlayerThisFrame = true;
         //Debug.Log("HIT PLAYER");
         uh.TakeDamage(1, 0, transform.position, true, false);
         PlayerRun.slowDown();
     }
 }