This is for the lecture, “Importing Previous Number Wizard Script.” Below is my code. I am following the tutorial video exactly but getting the following warnings from Unity. When I try to run my game, the “higher” and “lower” buttons change the text UI element from “500” to “0” instead of to the expected values of “750” and “250” etc. I’m sure this behavior is caused by the fact that my variables are not being used. What can I change in the code to make the script use my variables as demonstrated by the lecture video? Thanks in advance for your help!
“Assets/Scripts/NumberWizards.cs(20,21): warning CS0219: The variable `guess’ is assigned but its value is never used.”
“Assets/Scripts/NumberWizards.cs(19,21): warning CS0219: The variable `min’ is assigned but its value is never used”