I wanna increase a number in a variable that affects how the game reacts. Well short an experience system. People earn points and then use those points for xp/other stuff. Any recommendations for some other logic, I’m new to Unity.
Yeah, idk what you’re doing with that bool in there…tryparse won’t return anything if the text isn’t a number…so…not sure why you’re doing what you’re doing.
TryParse returns a bool; if it returns true, it found a valid number, if it returns false, it didn’t. If it found a number, it will change the value of the second parameter you feed it, to that number.
I guess cumbersome wasn’t really the word, just weird.