public void DeleteItem(object item) { if (Rows.ContainsKey(item)) { Destroy(Rows[item].gameObject); Rows.Remove(item); } }
public void AddScore(JHSCETakeRecord score) { if (!Rows.ContainsKey(score.RefStudentID)) { Rows.Add(score.RefStudentID, new StudentRow(_StudentScoreDict[score.RefStudentID])); } Rows[score.RefStudentID].AddRawScore(score); }