public void HideObjects() { AnswerTextInstance.gameObject.SetActive(false); SelectYourAnswerTextInstance.gameObject.SetActive(false); AnswerButtonTextInstance.gameObject.SetActive(false); CorrectOrIncorrectBackgroundInstance.HideObjects(); SelectedCorrectBackgroundInstance.HideObjects(); }
public void HideObjects() { foreach (var pollAnswerInstance in PollAnswerInstances) { pollAnswerInstance.HideObjects(); } AnswerBackgroundInstance.HideObjects(); AnswerTimerInstance.HideObjects(); QuestionTextInstance.gameObject.SetActive(false); QuestionLegalTextInstance.gameObject.SetActive(false); }