Ejemplo n.º 1
0
 public void InitScoreTableHeaders(NodeAddedEvent e, ScoreTableWithHeaderNode scoreTableHeader)
 {
     scoreTableHeader.Entity.AddComponent(new ScoreTableGroupComponent(scoreTableHeader.Entity));
     foreach (ScoreTableRowIndicator indicator in scoreTableHeader.scoreTableHeader.headers)
     {
         scoreTableHeader.scoreTableHeader.AddHeader(indicator);
     }
     LayoutRebuilder.MarkLayoutForRebuild(scoreTableHeader.scoreTableHeader.GetComponent <RectTransform>());
     scoreTableHeader.scoreTable.SetHeaderDirty();
 }
Ejemplo n.º 2
0
 public void ClearScoreTableHeaders(NodeRemoveEvent e, ScoreTableWithHeaderNode headers)
 {
     headers.scoreTableHeader.Clear();
 }