I am following a tutorial named Simon Says, http://www.youtube.com/watch?v=KSwB0N9Axp4
However I am stuck at 34-ish minutes. I have done everything the person said in the video however mine doesn't do what his does. Could anyone help me out?
(http://wtrns.fr/hdz-yb1f1aujL1c you can download my files here, I used WeTransfer).
EDIT: In the video it shows that I can now press a button, all of them should light up. however in my project it doesn't light up nor can I press on any of the 4 buttons.
Code 1 named 'SimonSays'
Code 2 named 'ColorPlateClickHandler'
I have uploaded a package with my finished project. I think the most confusing part was the start when the planes are created and the textures are added. All I can suggest is check your plane placement to mine. Make sure that :
the (Red Green Blue Yellow) ClickPlane 's are just above the (RGBY) Plane 's (so they can be clicked on),
and the (RGBY) ClickPlane 's have the Transparent texture,
and the (RGBY) Plane 's have the button ON texture (lit up colour).
and the BasePlane should have the button OFF texture (all the buttons displayed as OFF)
Also when there are 2 colours displayed in a row it is hard to tell, you should add a small delay between each DisplaySequence ( I cannot help there as I don't know how to yield WaitForSeconds(0.2); in C#).
Here is the Package : http://www.alucardj.net16.net/unityanswers/Simon_Says.unitypackage
and a webpublish build : http://www.alucardj.net16.net/unityanswers/SimonSays.html
Definitely try the 3D Buzz tutorial i linked earlier , or any other 3D Buzz tutorial on their website , as they do tutorials in C#. Hope this helps =]