- Home /
How to make the level screen?????
Hey I'm just a beginner and I followed the Brackeys tutorial on how to make a video game in which he made a simple cube game. So i basically tried to add a level screen in the menu in which i made 3 levels and the 2nd and 3rd levels are locked which displays a raw image of lock below the level and when the person completes the level it should be unlocked and playable. But I have made a system in which when someone reaches touches the end object the level is completed and for the convenience for level screen i set a public bool variable lvl1complete to true so when the variable is true i can allow the player to play the next level but when lvl 1 gets completed since the level screen is in the other scene so the variable does not work in the level screen!!! So what should i do guys is there any way i can use the same variable in that scene or some other method?
Your answer
Follow this Question
Related Questions
Is there a problem to build the game in the Hierarchy without loading scenes at all ? 0 Answers
How to implement customized character into my next scene? 0 Answers
Help with scriptableobjects 1 Answer
How to get variables from other scenes 2 Answers
keeping a loadout from the customization screen into the game 1 Answer