Documentation for the Unity C# Library
Loading...
Searching...
No Matches
PixoVR.Vrinput.AnswerOption Class Reference
Inheritance diagram for PixoVR.Vrinput.AnswerOption:
[legend]

Public Member Functions

void SetCorrectnes (bool isCorrect)
 
void SetSelected (bool isSelected)
 
void SetText (string option)
 

Public Attributes

int toggleID
 

Events

Action< string, bool, int > ToggleSelected
 

Private Member Functions

void OnDisable ()
 
void OnEnable ()
 
void OnToggleSelected (bool isSelected)
 
void SetTextColor (bool isSelected)
 
void Start ()
 

Private Attributes

bool _isSelected
 
TMP_Text answerOption
 [SerializeField]
 
bool isAnswerCorrect
 [SerializeField]
 
Toggle toggle
 [SerializeField]
 

Detailed Description

Definition at line 8 of file AnswerOption.cs.

Member Function Documentation

◆ OnDisable()

void PixoVR.Vrinput.AnswerOption.OnDisable ( )
inlineprivate

Definition at line 38 of file AnswerOption.cs.

Here is the call graph for this function:

◆ OnEnable()

void PixoVR.Vrinput.AnswerOption.OnEnable ( )
inlineprivate

Definition at line 33 of file AnswerOption.cs.

Here is the call graph for this function:

◆ OnToggleSelected()

void PixoVR.Vrinput.AnswerOption.OnToggleSelected ( bool isSelected)
inlineprivate

Definition at line 43 of file AnswerOption.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetCorrectnes()

void PixoVR.Vrinput.AnswerOption.SetCorrectnes ( bool isCorrect)
inline

Definition at line 69 of file AnswerOption.cs.

Here is the caller graph for this function:

◆ SetSelected()

void PixoVR.Vrinput.AnswerOption.SetSelected ( bool isSelected)
inline

Definition at line 57 of file AnswerOption.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetText()

void PixoVR.Vrinput.AnswerOption.SetText ( string option)
inline

Definition at line 64 of file AnswerOption.cs.

Here is the caller graph for this function:

◆ SetTextColor()

void PixoVR.Vrinput.AnswerOption.SetTextColor ( bool isSelected)
inlineprivate

Definition at line 74 of file AnswerOption.cs.

Here is the caller graph for this function:

◆ Start()

void PixoVR.Vrinput.AnswerOption.Start ( )
inlineprivate

Definition at line 28 of file AnswerOption.cs.

Member Data Documentation

◆ _isSelected

bool PixoVR.Vrinput.AnswerOption._isSelected
private

Definition at line 26 of file AnswerOption.cs.

◆ answerOption

TMP_Text PixoVR.Vrinput.AnswerOption.answerOption
privateSerializeField

[SerializeField]

Definition at line 13 of file AnswerOption.cs.

◆ isAnswerCorrect

bool PixoVR.Vrinput.AnswerOption.isAnswerCorrect
privateSerializeField

[SerializeField]

Definition at line 21 of file AnswerOption.cs.

◆ toggle

Toggle PixoVR.Vrinput.AnswerOption.toggle
privateSerializeField

[SerializeField]

Definition at line 17 of file AnswerOption.cs.

◆ toggleID

int PixoVR.Vrinput.AnswerOption.toggleID

Definition at line 22 of file AnswerOption.cs.

Event Documentation

◆ ToggleSelected

Action<string, bool, int> PixoVR.Vrinput.AnswerOption.ToggleSelected

Definition at line 24 of file AnswerOption.cs.


The documentation for this class was generated from the following file: