- Home /
Question by
Mz3D · Jul 13, 2012 at 04:25 PM ·
objectcommandspecificinstantiated
give a command to a specific instantiated object
What's the code to give a command to a specific instantiated object?
Comment
Answer by Piflik · Jul 13, 2012 at 05:11 PM
Depends on what you want to do, and how frequently.
Easiest would be SendMessage (possibly on Collision or with gameobject.Find), but it is slow compared to editing variables directly, if that is an option.
Answer by Mz3D · Jul 13, 2012 at 06:15 PM
I have 4 istances of an object and i want to give them different movement commands. How can i do?
Your answer
Follow this Question
Related Questions
Customizing/Morphing Player instantiated object 2 Answers
Unity Serializer Scene Only? 1 Answer
Destroying a specific object. C# 1 Answer
moving an object with a specific speed 1 Answer
Click To Delete Specific Object 1 Answer