public void UpdateRoundScore(int playerId, int count) { if (ScoreBoard.ContainsKey(playerId)) { ScoreBoard[playerId] += count; Debug.Log($"Updated Score Keeper for {playerId} to {count}"); } }
public int GetStoredScore(int playerId) { int score = 0; if (ScoreBoard.ContainsKey(playerId)) { score = ScoreBoard[playerId]; } return(score); }