- Home /
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?
Answer by murkantilism · Apr 04, 2013 at 05:13 PM
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.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
(C#) Public variables that have descriptions in the engine. 2 Answers
How do i make my person move forward in the direction of the cursor 2 Answers
Distribute terrain in zones 3 Answers
Can anyone fix this State.cs Code? 0 Answers