Struct QuestionnaireController.Answer
Holder for information for one answer.
Namespace: UI
Assembly: Assembly-CSharp.dll
Syntax
public struct Answer
Constructors
| Improve this Doc View SourceAnswer(String, String, Boolean)
Constructor for Answers.
Declaration
public Answer(string answer, string answerFeedback, bool answerCorrect)
Parameters
Type | Name | Description |
---|---|---|
System.String | answer | Text of the answer. |
System.String | answerFeedback | Text for feedback when the answer was taken. |
System.Boolean | answerCorrect | True if the answer is right. |
Fields
| Improve this Doc View Sourceanswer
Text of the answer.
Declaration
public string answer
Field Value
Type | Description |
---|---|
System.String | Set by constructor. |
answerCorrect
Is this answer right or wrong.
Declaration
public bool answerCorrect
Field Value
Type | Description |
---|---|
System.Boolean | Set by constructor. |
answerFeedback
Text of the feedback.
Declaration
public string answerFeedback
Field Value
Type | Description |
---|---|
System.String | Set by constructor. |