- Home /
Level unlock system
This is my main menu:
I have placed a picture with a collider in front of the level 2 button. When I finish level 1 I want that picture to get destroyed forever. (I think that would be the easiest way.) In other words, how can i make a level unlock system. And yes I HAVE tried this method: http://www.thegamecontriver.com/2014/09/create-level-lock-unlock-system-unity-46.html And i can't make it work. Appreciate answers!
Answer by KdRWaylander · Apr 24, 2015 at 03:34 PM
You can use PlayerPrefs and save the number of unlocked levels (as an int). The you launch the game you can check that number and if the button level N is superior to the unlocked count, it is locked.
Your answer
Follow this Question
Related Questions
how can i make level lock unlock in bolt visual scripting kindly reply? 0 Answers
Is it possible to make a Unity mobile app appear under the Lock Screen, like the phone app? 0 Answers
How to record android internal audio? 0 Answers
One small change for many scenes? 2 Answers
iOS ipa too big compared to android due to "level" size in editor log 0 Answers