Show / Hide Table of Contents

Class Survey

Inheritance
object
Object
ScriptableObject
Survey
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance(string)
ScriptableObject.CreateInstance(Type)
ScriptableObject.CreateInstance<T>()
Namespace: PlayUR.Surveys
Assembly: PlayUR.dll
Syntax
[CreateAssetMenu(menuName = "PlayUR/Survey")]
public class Survey : ScriptableObject

Fields

| Improve this Doc View Source

analyticsActionToRecordWith

Specify the action to record for each survey row as defined on the PlayUR back-end.

Declaration
public Action analyticsActionToRecordWith
Field Value
Type Description
Action
| Improve this Doc View Source

analyticsAnswerColumn

Specify which column of the analyticsActionToRecordWith should contain the survey answer text.

Declaration
public AnalyticsColumn analyticsAnswerColumn
Field Value
Type Description
AnalyticsColumn
| Improve this Doc View Source

analyticsQuestionColumn

Specify which column of the analyticsActionToRecordWith should contain the survey question text.

Declaration
public AnalyticsColumn analyticsQuestionColumn
Field Value
Type Description
AnalyticsColumn
| Improve this Doc View Source

finishText

The text to appear on th finish survey button.

Declaration
public string finishText
Field Value
Type Description
string
| Improve this Doc View Source

instructionsText

The instructions to appear at the top of the survey.

Declaration
public string instructionsText
Field Value
Type Description
string
| Improve this Doc View Source

nextPageText

The text to appear on the next page button (if shown).

Declaration
public string nextPageText
Field Value
Type Description
string
| Improve this Doc View Source

popupPrefab

Declaration
[Tooltip("Leave blank for default")]
public GameObject popupPrefab
Field Value
Type Description
GameObject
| Improve this Doc View Source

questions

The questions to include in the survey.

Declaration
public List<SurveyQuestion> questions
Field Value
Type Description
List<SurveyQuestion>
| Improve this Doc View Source

questionsPerPage

Declaration
[Tooltip("Leave as -1 for no pages")]
public int questionsPerPage
Field Value
Type Description
int
| Improve this Doc View Source

rowPrefab

Declaration
[Tooltip("Leave blank for default")]
public GameObject rowPrefab
Field Value
Type Description
GameObject
| Improve this Doc View Source

titleText

The title to appear at the top of the survey.

Declaration
public string titleText
Field Value
Type Description
string
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX