Show / Hide Table of Contents

Class SurveyPopup

This class contains the logic associated to the popup for displaying a survey. This monobehaviour should be placed on a survey popup prefab. This is already done for the provided survey popup prefab.

Inheritance
object
Object
Component
Behaviour
MonoBehaviour
SurveyPopup
Namespace: PlayUR.Surveys
Assembly: PlayUR.dll
Syntax
public class SurveyPopup : MonoBehaviour

Fields

| Improve this Doc View Source

onClose

Unity events to run when the survey is closed.

Declaration
public SurveyPopupEvent onClose
Field Value
Type Description
SurveyPopupEvent
| Improve this Doc View Source

onNextPage

Unity events to run when the survey changes pages.

Declaration
public SurveyPopupEvent onNextPage
Field Value
Type Description
SurveyPopupEvent
| Improve this Doc View Source

onOpen

Unity events to run when the survey is opened.

Declaration
public SurveyPopupEvent onOpen
Field Value
Type Description
SurveyPopupEvent
| Improve this Doc View Source

onResponse

Unity events to run when the user responds to a question.

Declaration
public SurveyPopupResponseEvent onResponse
Field Value
Type Description
SurveyPopupResponseEvent
| Improve this Doc View Source

survey

The scriptable object representing the survey to show.

Declaration
public Survey survey
Field Value
Type Description
Survey

Methods

| Improve this Doc View Source

OnCloseButtonPressed()

Declaration
public void OnCloseButtonPressed()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX