[SerializeField] Item itemPrefab;
[SerializeField] Transform Canvas;
Item[] itemsGot;
void DrawAll()
{
for (int i = 0; i < itemsGot.Length; i++)
{
Item item = Instantiate(itemPrefab, new Vector2(300 + i*80, 500), Quaternion.identity, canvas).GetComponent<Item>();
item.params = itemsGot[i].params;
}
}