title: Unity Quiz Game displaying incorrect answers
body: <p>I made a Quiz Game Multiple Choice by following the Official Tutorial in Unity on making a Quiz Game. I'm trying to display all the incorrect/wrong answers of the game how can I do it? Here is the code. </p>
  
  <p>For Showing Questions</p>
  
  <pre><code>    void ShowQuestion()
  {
  
      RemoveAnswerButtons();
  
  
      bool questionChosen = false;
      while (questionChosen != true) // While question chosen does not equal true
      {
          int random = Random.Range(0, questionPool.Length); // Choose a random number between 0 and the questionPool length
  
          if (!questionIndexesChosen.Contains(random)) // If the new list doesn't contain the number
          {
              questionIndexesChosen.Add(random); // Add the number to the list
              questionIndex = random; // Set the questionIndex to the number
              questionChosen = true; // Set questionChosen to true to end the while loop
          }
      }
  
      QuestionData questionData = questionPool[questionIndex];                            // Get the QuestionData for the current question
      questionText.text = questionData.questionText;                                      // Update questionText with the correct text
  </code></pre>
  
  <p>For Questions----->Button</p>
  
  <pre><code> for (int i = 0; i &lt; questionData.answers.Length; i ++)                             // For every AnswerData in the current QuestionData...
      {
          GameObject answerButtonGameObject = answerButtonObjectPool.GetObject();         // Spawn an AnswerButton from the object pool
          answerButtonGameObjects.Add(answerButtonGameObject);
          answerButtonGameObject.transform.SetParent(answerButtonParent);
          answerButtonGameObject.transform.localScale = Vector3.one;
  
          AnswerButton answerButton = answerButtonGameObject.GetComponent&lt;AnswerButton&gt;();
          answerButton.SetUp(questionData.answers[i]);                                    // Pass the AnswerData to the AnswerButton so the AnswerButton knows what text to display and whether it is the correct answer
      }
  }
  
  void RemoveAnswerButtons()
  {
      while (answerButtonGameObjects.Count &gt; 0)                                           // Return all spawned AnswerButtons to the object pool
      {
          answerButtonObjectPool.ReturnObject(answerButtonGameObjects[0]);
          answerButtonGameObjects.RemoveAt(0);
      }
  }
  </code></pre>
  
  <p>And Answer Button Clicked and also to show the result if it was correct and wrong.</p>
  
  <pre><code>public void AnswerButtonClicked(bool isCorrect)
  {
      if (isCorrect)
      {
          Debug.Log("Your Answer is Correct");
          playerScore += currentRoundData.pointsAddedForCorrectAnswer;                    // If the AnswerButton that was clicked was the correct answer, add points
          scoreDisplay.text = playerScore.ToString();
  
      }
  
      if (qNumber &lt; questionPool.Length - 1)                                            // If there are more questions, show the next question
      {
          qNumber++;
          ShowQuestion();
      }
      else                                                                                // If there are no more questions, the round ends
      {
          EndRound();
      }
  }
  </code></pre>