Exemplo n.º 1
0
 public void StartThis(DataMatch _match)
 {
     match             = _match;
     textDate.text     = _match.date.Day + "/" + _match.date.Month + "/" + _match.date.ToString("yy");
     textDuration.text = _match.duration.Minutes.ToString("00") + ":" + _match.duration.Seconds.ToString("00");
     textScore.text    = _match.GetNGoalsAlly() + " - " + _match.GetNGoalsEnemy();
     GetComponent <RectTransform>().sizeDelta = new Vector2(0, Screen.height / 10);
 }
Exemplo n.º 2
0
 public void RemoveMatch(DataMatch _match)
 {
     allMatches.Remove(_match);
     SaveMatchesData();
 }
Exemplo n.º 3
0
 public void AddMatch(DataMatch _match)
 {
     allMatches.Add(_match);
     SaveMatchesData();
 }