public void CardChanger(int card)
{
int C = card;
switch (card)
{
case 1:
cards[card].Unequip = false;
do
{
C = C + 1;
cards[card + C].Unequip = true;
Debug.Log(C);
} while (cards[card].Unequip == true);
break;
case 2:
cards[card].Unequip = false;
cards[card - 1].Unequip = true;
cards[card + 1].Unequip = true;
break;
case 3:
cards[card].Unequip = false;
cards[card-1].Unequip = true;
cards[card - 2].Unequip = true;
break;
}
}