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