I currently have the following:
And in the unity property inspactor script definition area I have:
Now I would like to create these objects in code as I need to pass into them some parameter. How can I do this in code? In other words how can I initialize the myWalls list with the gameobjects Wall1, Wall2 and Wall3?
asked Aug 18 '12 at 08:29 AM
answered Aug 18 '12 at 08:36 AM