Esempio n. 1
0
    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);
    }
Esempio n. 2
0
 public override List <Enemy> PickEnemies()
 {
     return(PickEnemyFactory.PickClosestEnemy(RangeUpgrades[RangeUpgradeIndex].Value, transform.position));
 }
Esempio n. 3
0
 public override List <Enemy> PickEnemies()
 {
     return(PickEnemyFactory.PickEnemiesInRange(RangeUpgrades[RangeUpgradeIndex].Value, transform.position, (int)MaxTargetEnemiesUpgrades[MaxTargetEnemiesUpgradeIndex].Value));
 }