Minerals/items are gameObject , not Transform . Your instantiation code at DestroyRock() should be like: Instantiate(minerals[Random.
確定! 回上一頁