public void RestartPoll() { AskedQuestions = new List <int>(); UserAnswers = new List <PollUserAnswer>(); Loading = true; Data = new PollData(Application.dataPath + "/poll-questions.json"); m_LeaderboardData = new LeaderboardData(); TopScoreTitleInstance.HideObjects(); TopScoreTextInstance.HideObjects(); TopScoreTextLabelInstance.HideObjects(); YourScoreTextInstance.HideObjects(); YourScoreTextLabelInstance.HideObjects(); BtnStartOver.gameObject.SetActive(false); ShowInstructions(); }
public void HideLeaderboardTopDown() { LeaderboardHidden = true; LeaderboardTopDownInstance.gameObject.SetActive(false); TxtTitle.HideObjects(); TxtSubTitle.HideObjects(); TxtPlayNow.HideObjects(); }