- Home /
Question by
Mystiblu · Oct 04, 2016 at 03:02 AM ·
c#scripting problembuttons
Enable/Disable part of script with Button?
Basically, I have a part in my 'Player' script that enable for a 'Progressive' mode, that gets faster over time. But I have that part of the script disabled with the '//'. Is there any way that when a button is pressed on the main menu, it can enable that part of the coding that allows the 'Progressive' mode, and then when you exit back to the main menu, it resets?
Or if you have any suggestions, please feel free to help :)
Comment
Your answer
Follow this Question
Related Questions
Add force when button is pressed 2 Answers
Help. Newbie trying to have more than one button powered door a scene 1 Answer
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers