void Start()
{
textures = Resources.LoadAll<Sprite>("ItemTityPotions");
Slots = GameObject.Find("Slots");
bokking = GameObject.Find("Ethan").GetComponent<Playerbokking>();

for (int i = 0; i < 100; i++)
{
GameObject obj = (GameObject)Resources.Load("ItemImage1");
GameObject prefab = Instantiate(obj);
prefab.transform.SetParent(Slots.transform);
getItemIDs.Add(prefab);
}
}
どうでひょう?(^^