displayanswer - eisclimber/ExPresS-XR GitHub Wiki
Method in QuizButton
Displays an answer using the provided information and removes the old one. If no information is provided will disable the button. This may only happen during differing-answers-multiple-choice-quizzes.
public void DisplayAnswer(string answerText, GameObject answerObject, bool correctChoice)| Name | Description |
|---|---|
string answerText |
Text to be displayed. |
UnityEngine.GameObject answerObject |
Prefab to be displayed. |
bool correctChoice |
Whether or not the button is correct. |