I can’t seem to figure out what I am doing wrong with this particular line of code. I checked back to the video to see if all my code was the accurate. However, I keep getting the same result regarding the max value:
EDIT:
Was able to fix the problem by closing and reopening Unity/MonoDevelop, but what made this work?