public void SetCurrentCard(int selectedOption) //This is where changing begins. { cardDisplay.BlockButtons(); //Debug.Log("Block2 " + selectedOption); if (currentCard.ppsHasFadeOut || currentCard.sfxHasFadeOut) { //cardDisplay.BlockButtons(); switch (selectedOption) { case 1: cardWaiting = currentCard.option1FollowCard; // Put the next card on hold. break; case 2: cardWaiting = currentCard.option2FollowCard; // Put the next card on hold. break; case 3: cardWaiting = currentCard.option3FollowCard; // Put the next card on hold. break; case 4: cardWaiting = currentCard.option4FollowCard; // Put the next card on hold. break; case 5: cardWaiting = currentCard.option5FollowCard; // Put the next card on hold. break; case 6: cardWaiting = currentCard.SkipCard; break; } if (currentCard.ppsHasFadeOut) { waitingForPPS = true; mainCamera.GetComponent <PPSManager>().DoFadeOut(currentCard); } if (currentCard.sfxHasFadeOut) { waitingForSFX = true; sfxSource.GetComponent <SfxPlayer>().SetFadingOutTrue(); } } else { switch (selectedOption) { case 1: ActuallyChangeCard(currentCard.option1FollowCard); // Update the next card into given card. break; case 2: ActuallyChangeCard(currentCard.option2FollowCard); // Update the next card into given card. break; case 3: ActuallyChangeCard(currentCard.option3FollowCard); // Update the next card into given card. break; case 4: ActuallyChangeCard(currentCard.option4FollowCard); // Update the next card into given card. break; case 5: ActuallyChangeCard(currentCard.option5FollowCard); // Update the next card into given card. break; case 6: ActuallyChangeCard(currentCard.SkipCard); break; } } }