Esempio n. 1
0
    public void FieldEffectSwitch()
    {
        switch (fieldEffectNum)
        {
        case 1:
            Debug.Log("引く枚数が+1");
            break;

        case 2:

            break;

        case 3:
            if (fieldEffect == true)
            {
                if (drowYama1 == true && deck.cards1.Count != 0)
                {
                    cardAnime.FieldSkillCutIn();
                }
                if (drowYama1 == false && deck.cards2.Count != 0)
                {
                    cardAnime.FieldSkillCutIn();
                }
                fieldEffect = false;
            }
            TextChange();
            break;

        default:
            Debug.LogError("フィールド効果の値がおかしいよ");
            break;
        }
    }