public void Attack(HexCell targetCell) { if (targets.Contains(targetCell)) { HexUnit targetUnit = targetCell.Unit; targetUnit.OnAttackHit(AttackDamage); Debug.Log("Attacking " + targetUnit.name + " from team " + targetUnit.TeamIndex); } }