I'm attempting to use a coroutine to instantiate a gameobject. but it creates multiple clones. is there a way to solve this problem?
Nov 10 '11 at 07:52 PM
Nov 10 '11 at 06:52 PM
Please post your code. I have no problem instantiating / destroying game objects using coroutines, so there may be a simple error in your logic.
Ah! there was, I ended up finding a flaw in the logic I was using. so... I guess problem solved
Answer found by the OP
Once you sign in you will be able to subscribe for any updates here
Answers and Comments
The best place to ask and answer questions about development with Unity. Check out our FAQ for more information.
To help users post good questions and use the site effectively we have posted a tutorial video. Please check it out.
asked: Nov 10 '11 at 07:52 PM
Seen: 514 times
Last Updated: Nov 11 '11 at 09:10 PM
Script Initializing help???!!!
Instantiating many objects during update lags
Instantiate + Coroutine = problem
instantiating at a random time
Problem OnTriggerEnter is calling more than once
Coroutines insider another coroutine.
Respawn after delay
Simple shooting script causing heavy lag
Object reference to set to instance on an instantiated object