Skip to main content

Class SurveyPageGenerator

Instantiates a full-screen survey page from a SurveyPageData asset, collects the responses, and advances the game mode when the participant submits.

public sealed class SurveyPageGenerator : BaseSurveyHandler

Inheritance​

Remarks​

The full-page survey is shown between driving scenarios — typically a post-scenario questionnaire.

Properties​

QuestionnaireData​

Gets the list of survey responses, initializing it if necessary.

public List<SurveyResponse> QuestionnaireData { get; }

Property Value​

List<SurveyResponse>

Methods​

MoveOntoNext()​

Handles moving to the next part of the survey or the next phase in the game mode, such as ending the session if configured to do so.

protected override void MoveOntoNext()