displayanswer - eisclimber/ExPresS-XR GitHub Wiki

QuizButton.DisplayAnswer(string,GameObject,bool)

Method in QuizButton

Summary

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)

Parameters

Name Description
string answerText Text to be displayed.
UnityEngine.GameObject answerObject Prefab to be displayed.
bool correctChoice Whether or not the button is correct.
⚠️ **GitHub.com Fallback** ⚠️