foreach (GameObject Foreach変数 in Slots.transform)
これならエラー吐きまふぇんが明らかにおかしい気がしまふ(^^