public void SetMatchInfo(MatchInfo infos) { matchId = infos.matchId; matchName.text = "Match " + infos.matchId.ToString().Substring(0, 8); playerCount.text = infos.players + " / " + infos.maxPlayers; }
public void SetMatchInfo(MatchInfo infos) { matchId = infos.matchId; matchName.text = $"Match {infos.matchId.ToString().Substring(0, 8)}"; playerCount.text = $"{infos.players} / {infos.maxPlayers}"; }