- Home /
Blocking level progression.
Hi, I'm building a game where there is a level select screen, I have built multiple levels that are accessible from that scene, but I only want the levels to become available once they have completed a level, so level 2 is only visible once level 1 has been completed and so on. At the moment I'm not able to hide the levels, meaning that all the levels are available. Thanks for any help that can be provided.
All depend of how you have programmed your level script. A solutionj would be to store in playerprefs the level the player have reached, and then deter$$anonymous$$e for each level if the number is higher or lower than this, and only show if it's lower or equal.
Search around this, you should found what you search :)
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
[C#] Do not load scene yet 2 Answers
Scene not loading in build 1 Answer