public void ToggleDownloaded()
 {
     if (this.downloaded == true)
     {
         GlobalVariables.SetQuestion(GetQuestionData());
         SetIsDownloaded(false);
     }
     else
     {
         GlobalVariables.DeleteQuestion(GetQuestionData());
         SetIsDownloaded(true);
     }
 }
Exemple #2
0
 public void DeleteQuestion()
 {
     GlobalVariables.DeleteQuestion(GetQuestionData());
     Destroy(gameObject);
 }