create - eisclimber/ExPresS-XR GitHub Wiki

QuizRoundData.Create(ButtonQuizQuestion,QuizButton[],McConfirmButton,ButtonQuizConfig,int[],int,string,GameObject[],VideoClip,string)

Method in QuizRoundData

Summary

Creates a new QuizRoundData object for the current quiz round, calculating all necessary data.

public static QuizRoundData Create(ButtonQuizQuestion question, QuizButton[] buttons, McConfirmButton mcConfirmButton, ButtonQuizConfig config, int[] answerPermutation, int askOrderIdx, string feedbackText, GameObject[] feedbackObjects, VideoClip feedbackVideo, string feedbackVideoUrl)

Parameters

Name Description
ExPresSXR.Interaction.ButtonQuiz.ButtonQuizQuestion question Question object for the round.
ExPresSXR.Interaction.ButtonQuiz.QuizButton[] buttons Buttons for the round.
ExPresSXR.Interaction.ButtonQuiz.McConfirmButton mcConfirmButton Multiple Choice Buttons for the round.
ExPresSXR.Interaction.ButtonQuiz.ButtonQuizConfig config Quiz Config of the quiz.
int[] answerPermutation Answer Permutation for this round.
int askOrderIdx The index of the current question relative to the question permutation.
string feedbackText Feedback text shown this round.
UnityEngine.GameObject[] feedbackObjects Feedback text shown this round.
UnityEngine.Video.VideoClip feedbackVideo Feedback video shown this round.
string feedbackVideoUrl Feedback video url shown this round.

Returns

A new QuizRoundData generated from the data.

⚠️ **GitHub.com Fallback** ⚠️