void updateItemSize()
{
for (int i = 0; i < SlotContainer.transform.childCount; i++)
{
if (SlotContainer.transform.GetChild(i).childCount > 0)
{
SlotContainer.transform.GetChild(i).GetChild(0).GetComponent<RectTransform>().sizeDelta = new Vector2(slotSize, slotSize);
SlotContainer.transform.GetChild(i).GetChild(0).GetChild(2).GetComponent<RectTransform>().sizeDelta = new Vector2(slotSize, slotSize);
}
}
}