- Home /
Selecting multiple objects
I want to make a simon says game, and, i would like to select multiple objects through one script(i.e uparrow for top button) instead of attaching multiple scripts onto multiple objects. The reason i ask this is because when i "spam" click the arrow keys, sometimes they remain the colour. So maybe you can help me fix either or both of these problems.
Thank you
Answer by kevinspawner · Dec 24, 2014 at 09:07 AM
You can create Public Game Object with needed objects and then can instantiate or assign it in the start function and then in the update function you can assign its functionality. Hope this helps.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
What is wrong with my script? 1 Answer
Android with Mac unity remote 4 Answers
Simple Maya/Unity question. How do I flip a cube inside out to make a room? 1 Answer
JavaScript Beginner: Menu Help 2 Answers