private void UpdateEntry(int index, InventoryEntry entry) { ItemDisplayer displayer = displayers[index]; displayer.itemIndex = index; displayer.SetCount(entry.count); displayer.SetIcon(entry.item.icon); }