public override void SetCellContent(UICell cell, int row) { ResourceCell resourceCell = cell.GetComponent <ResourceCell>(); if (resourceCell != null) { resourceCell.SetContent(resources[row]); } }
public override void SetCellContent(UICell cell, int row) { PlantCell plantCell = cell.GetComponent <PlantCell>(); if (plantCell != null) { plantCell.rowNumber = row; plantCell.SetContent(puts[row]); } }