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.
Namespace: PlayUR.Surveys
Assembly: PlayUR.dll
Syntax
public class SurveyPopup : MonoBehaviour
Fields
| Improve this Doc View SourceonClose
Unity events to run when the survey is closed.
Declaration
public SurveyPopupEvent onClose
Field Value
Type | Description |
---|---|
SurveyPopupEvent |
onNextPage
Unity events to run when the survey changes pages.
Declaration
public SurveyPopupEvent onNextPage
Field Value
Type | Description |
---|---|
SurveyPopupEvent |
onOpen
Unity events to run when the survey is opened.
Declaration
public SurveyPopupEvent onOpen
Field Value
Type | Description |
---|---|
SurveyPopupEvent |
onResponse
Unity events to run when the user responds to a question.
Declaration
public SurveyPopupResponseEvent onResponse
Field Value
Type | Description |
---|---|
SurveyPopupResponseEvent |
survey
The scriptable object representing the survey to show.
Declaration
public Survey survey
Field Value
Type | Description |
---|---|
Survey |
Methods
| Improve this Doc View SourceOnCloseButtonPressed()
Declaration
public void OnCloseButtonPressed()