I am currently using a forloop to display each button in the list. In this case there are 4 buttons to be displayed, so with the forloop its going button0, button1, button2, button3. I would like it to do that but in a random order different each time. like button3, button0, button2, button1, and then next time, button0, button3, button1, button2, or something. Here is how it is at this point.
GUILayout.BeginVertical();
for (int i = 0; i <= 3; i++)
{
if (GUILayout.Button(aList[index].Answers*))*
{
//If correct answer…
if (i == aList[index].CorrectAnswer)
{
Debug.Log(“Correct”);
if (index < aList.Count)
{
aList.Remove(aList[index]);
GetQuestion();
} //Here we would add the Ending…
else
{
Debug.LogError(“Out Of Questions To Display”);
}
}
else //if incorrect…
{
Debug.Log(“Incorrect”);
GetQuestion();
}
}
}