예제 #1
0
    void ShowSelf()
    {
        nameLabel.text         = userPackage.GetGroupName();
        levelLabel.text        = string.Format("Lv.{0}", userPackage.GetManorLevel());
        contributionLabel.text = string.Format("实力:{0}", userPackage.GetTotalContribution());
        int count   = 0;
        var userMap = userPackage.GetUserInfoMap();

        foreach (var pair in userMap)
        {
            NUserInfo info = pair.Value;
            playerInofs[count].nameLabel.text = info.name;
        }
    }