0
for (int x = 0; x < mapLength; x++)
{
var instantiateMap = new Vector3(x * 2, 0, 1);
GameObject[] cubeObjectClones = Instantiate(cubeObject, instantiateMap, Quaternion.identity) as GameObject;
cubeObjectClones[x].transform.parent = transform;
}
無法隱式轉換類型UnityEngine.GameObject' to
UnityEngine.GameObject []」遊戲對象[]在Unity
一些能解釋一下我可以修復這個錯誤?