コード例 #1
0
ファイル: RankingManager.cs プロジェクト: ReoRavi/Dungeon
    // Use this for initialization
    void Start()
    {
        pageNumber = 1;

        getRanking = GetComponent<HTTPManager>();

        string rankingResult = getRanking.HTTP_REQUEST();

        if (rankingResult != "error" && rankingResult.Length != 0)
        {
            nickNames = getRanking.GetUserDataFromJson(rankingResult, "NickName");
            scores = getRanking.GetUserDataFromJson(rankingResult, "Score");

            ChangeText();
        }
    }