How to assign transfrom array in the code?

When assigning variable in the hierarhy everything works fine, but when im spawning object
variables are not assinged.How to assign transfrom array in the code?

When you instantiate a gameobject, it will not have the variables you set in the hierarchy. That simply isn’t how it works. You’ll have to write some code that “spawns” the objects with the correct variable settings.

I have no idea what “How to assign transfrom array in the code?” means.