Hi guys,
im making a quiz game, i followed the live tutorial that is on Recorded Video Session: Quiz Game 1 - Unity Learn and the second part. I was just wondering how can i make the button color change when it’s right and when pressed on the wrong answer?
Steps:
-
get a boolean that is true/false based on correct/wrong
-
get a reference to the Button in question
-
set the .color property on the Image component that is referenced by that button.