Im working on quiz multiple choice but each of my question will have different choices (which can be 2,3 or 4) - of course there is only 1 answer. There’s not so much source / tutorial for me to look out from. Im new with unity so do you have any suggestion or any guide for me to handle this kind of quiz? Many thanks
Try this in your code for when one of the questions are selected:
int QuestionAnswer = 1/2/3/4; //Depends on what the answer is
if (PlayerAnswer == QuestionAnswer ){
Reward();
}
else Punishment();
Let me know if you need more help as this is a bit vague. Also, for multiple different questions you could use a List to list the answers for each question. Respond if you would like to know that.