Beispiel #1
0
    public void UpdatePlayerRecord(PlayerRecord playerRecord, int rank)
    {
        playerPortrait.sprite = ResourceUtility.GetSprite("player" + playerRecord.playerId);
        playerName.text       = playerRecord.playerName;
        playerScore.text      = playerRecord.playerScore.ToString();

        UpdateStyle(rank);
    }