public void BulletHit(Ammunition bullet) { if (bullet.getShooter().gameObject != GetComponentInParent <LameShip>()) { BulletHit(bullet.damage); } }
public void BulletHit(Ammunition bullet) { BulletHit(bullet.getShooter(), bullet.damage, (int)bullet.shooterIff); }