- Home /
how can i make a block menu
when i say how can i make a block menui mean i already have a menu for my levels but how can i block the level so the player can play level 2 if he doesnt pass the level one first i hope some help
Answer by Bunny83 · Oct 30, 2011 at 12:59 AM
Very easy. Each GUI element can be enabled disabled by using GUI.enabled in front of the element. Note: if you set GUI.enabled to false all succeeding elements will be disabled. It's some kind of global state, so you have to turn it back to true for the rest of your GUI.
Your answer
![](https://koobas.hobune.stream/wayback/20220613024533im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
cover flow level select help please 0 Answers
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
How to make a Main Menu 3 Answers
Hiding the cursor on a certain level. Pause Menu help. 2 Answers
How to restart a "prefab'd" level? ;) 0 Answers