How do I make an uninteractable menu button interactable?
So I have a horror game with the game starting off in the menu. There is an activate "quit" button and "begin night 1" button, but another button "begin night 2" that is uninteractable at the start of the game (you must complete the first to advance). How do I redirect the player to the menu after the first night and make the night 2 button become clickable? Thanks so much for any help. (please scripts in javascript)
I just really want the second night button to go to the night 2 scene, not the first. please help?
Answer by hexagonius · Feb 13, 2016 at 08:28 PM
Is night one a separate scene? If you need the unlock only during the session, create a static bool and set it to true after finishing level one. when returning menu, read that and set the buttons interactable to true.
If you need it between sessions use PlayerPrefs to save the info
Your answer
Follow this Question
Related Questions
Game starts with pause menu activated 1 Answer
UI problems 0 Answers
Disable 3rd person controller when menu's are active 0 Answers
My menu screens are in the floor of my levels 0 Answers
How do I create a static bool? 1 Answer