public void reset() { var update = new Scores.Update(); update.SetScores(0f); ScoresWriter.Send(update); }
public void addScores(float scores) { var oldScores = ScoresWriter.Data.scores; var update = new Scores.Update(); update.SetScores(scores + oldScores); ScoresWriter.Send(update); }