- Home /
Question by
4illeen · Oct 04, 2011 at 03:43 PM ·
instantiateprefabarrayclone
Array of prefabs
I have a map tile GameObject prefab and a 2D array -> myArray[,]. Let's say it has 10 rows and 5 columns.
First of all I want to fill the array with copies of my prefab and set some data in each copy's scripts and then in another loop I want to instantiate them on the scene. Could anyone help me? This seems easy but I can't do it right.
Comment