private KVID2TableHeader0Panel Add(string productName, Action <Cell> cellClickHandler) { var productNameCell = Cell.Factory.Create(_cellPrefab, productName, false, _productName, cellClickHandler); var panel = new KVID2TableHeader0Panel(productNameCell); AddPanelToColumns(panel); return(panel); }
private void Awake() { Panel = Add("-", Cell_Clicked); }