常用方法
常用方法
常用方法
常用方法
public int CountOfEnemyUnitsWeCanCounter() { int total = 0; foreach (var counterType in iconUnit.CountersTypes()) { int count = player.EnemyUnitsOfType(counterType).Count; total += count; } return(total); }