コード例 #1
0
    void Fight(int i)
    {
        turnTaker = order.ElementAt <GameObject>(i);

        if (turnTaker.tag == "Ally")
        {
            _attacks.AllyAttacks(turnTaker);
        }
        else if (turnTaker.tag == "Enemy")
        {
            _attacks.EnemyAttacks(turnTaker);
        }
    }