|
Hello, I have a loop and i want to make some clones as children of gameObject "spawnpoint" within the loop. I have read alot of topics and tried lines like this: Thanks!
(comments are locked)
|
|
You need to change this to something more like this Also, as a side note, DO NOT use GameObject.Find() in a loop or an Update function if you can avoid it. Before the loop starts, call find ONCE and store it's result into a var, and then just use that var directly.
(comments are locked)
|
