Simon Says game - Activating Light X when Button X(randomly selected) lights up.
Hi guys. I'm a game design student and as my final work, our professor asked us to make a simple game based on a historic event of our country. I chose the construction of the "Christ the Redeemer" statue. The rule of the project was that we could only use 4 colors, so I decided to make a game based on "Simon Says".
Basically, as you get the correct sequence of the buttons, parts of the statue are built. This is ready and working. To spice things I, I thought it would be nice to activate some spotlights below the statue that light up according to their respective colors on the Simon Says. So, if the button green on the Simon Says lights up, the green spotlight should play an animation (or turn on and off shortly), and so forth.
This seems to be challenging as the buttons are played randomly. Unfortunately, after several days of attempting I cannot get this to work through triggers, animations, etc. I've tried endlessly looking on youtube and google with no luck. Can anybody give me a guiding light?
https://imgur.com/a/59snC1a (I left the lights on to better understand my concept).
Your answer
![](https://koobas.hobune.stream/wayback/20220612204442im_/https://answers.unity.com/themes/thub/images/avi.jpg)