public void ShowLeaderboardTopDown()
 {
     LeaderboardHidden = false;
     LeaderboardTopDownInstance.gameObject.SetActive(true);
     TxtTitle.ShowObjects();
     TxtSubTitle.ShowObjects();
     TxtPlayNow.ShowObjects();
 }
    private void CreateObjects()
    {
        Hidden = false;
        Destroy(TestKnowledgeInstance);

        TitleTextInstance      = Instantiate(TitleTextPrefab).GetComponent <PollTextComponent>();
        TitleTextInstance.name = "Poll Title";
        TitleTextInstance.transform.SetParent(transform);
        TitleTextInstance.transform.position = Data.PollTitlePosition;
        TitleTextInstance.SetTextData(Data.PollTitle);
        TitleTextInstance.CreateAllObjects();

        var questionsObject = new GameObject("Questions");

        questionsObject.transform.SetParent(transform);
        QuestionInstances = new List <PollQuestionComponent>();
        foreach (var pollQuestionData in Data.QuestionsData)
        {
            var pollQuestionInstance = Instantiate(QuestionPrefab).GetComponent <PollQuestionComponent>();
            pollQuestionInstance.name = "Question";
            pollQuestionInstance.transform.SetParent(questionsObject.transform);
            pollQuestionInstance.SetPollQuestionData(pollQuestionData);
            pollQuestionInstance.CreateObjects();
            QuestionInstances.Add(pollQuestionInstance);
        }

        TopScoreTitleInstance.ShowObjects();
        TopScoreTextInstance.ShowObjects();
        TopScoreTextLabelInstance.ShowObjects();
        YourScoreTextInstance.ShowObjects();
        YourScoreTextLabelInstance.ShowObjects();
        BtnStartOver.gameObject.SetActive(false);
        SetYourScore(0);
        var topScore = m_LeaderboardData.PlayerData.OrderByDescending(pd => pd.PlayerScore).FirstOrDefault();

        if (topScore != null)
        {
            SetTopScore(topScore.PlayerScore);
        }
    }