public override List <Enemy> PickEnemies() { List <Enemy> pickList = PickEnemyFactory.PickClosestEnemy(RangeUpgrades[RangeUpgradeIndex].Value, transform.position); if ((pickList[0] == null || !pickList[0].isActiveAndEnabled) && Spinning()) { Animator.Play("Spin Down"); } return(pickList); }
public override List <Enemy> PickEnemies() { return(PickEnemyFactory.PickClosestEnemy(RangeUpgrades[RangeUpgradeIndex].Value, transform.position)); }
public override List <Enemy> PickEnemies() { return(PickEnemyFactory.PickEnemiesInRange(RangeUpgrades[RangeUpgradeIndex].Value, transform.position, (int)MaxTargetEnemiesUpgrades[MaxTargetEnemiesUpgradeIndex].Value)); }